# Hosted authentication email change block

**URL:** <https://forums.nylas.com/t/hosted-authentication-email-change-block/142>\
**Category:** Question and Answers\
**Created:** [March 21, 2024, 2:18pm UTC](https://forums.nylas.com/t/hosted-authentication-email-change-block/142 "2024-03-21T14:18:52Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![bartosz.grzeda](https://avatars.discourse-cdn.com/v4/letter/b/67e7ee/32.png) [@bartosz.grzeda](https://forums.nylas.com/u/bartosz.grzeda)\
**Post date:** [March 21, 2024, 2:18pm UTC](https://forums.nylas.com/t/hosted-authentication-email-change-block/142/1 "2024-03-21T14:18:52Z")

</div>

Hi, is there any posibility to block email change in hosting authentication when i pass an email in login hint parameter?  
auth url looks like: “[Error During OAuth](https://api.eu.nylas.com/v3/connect/auth?client_id=clientid&redirect_uri=http%3a%2f%2flocalhost%3a4200%2fagency%2fconfig&response_type=code&login_hint=bartosz.g%40gmail.com)”

---

<div class="post-metadata">

**Author:** ![Blag](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.nylas.com/blag/32/9_2.png) [@Blag](https://forums.nylas.com/u/Blag)\
**Post date:** [March 21, 2024, 3:33pm UTC](https://forums.nylas.com/t/hosted-authentication-email-change-block/142/2 "2024-03-21T15:33:50Z")

</div>

Hi @bartosz.grzeda what the error you is saying is that you don’t have a connector enabled. You need to go your Dashboard and enable it.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/nylas3/original/1X/b16d7e2bd4c5279b3713672be8da972bf3712b75.png)

---

<div class="post-metadata">

**Author:** ![bartosz.grzeda](https://avatars.discourse-cdn.com/v4/letter/b/67e7ee/32.png) [@bartosz.grzeda](https://forums.nylas.com/u/bartosz.grzeda)\
**Post date:** [March 21, 2024, 6:42pm UTC](https://forums.nylas.com/t/hosted-authentication-email-change-block/142/3 "2024-03-21T18:42:43Z")

</div>

damn, sorry i didnt notice that url has been formatted.  
everything works fine with google auth but when i pass a login hint parameter to authenticate i get a screen like

 ![image](https://us1.discourse-cdn.com/flex015/uploads/nylas3/original/1X/daca39c7d33462b49d8324328009e55e7b7f6f52.png)  
is it possible to force user to use only account with email i provided in auth url?  
i mean to block this “Użyj innego konta” option (use another account)

---

<div class="post-metadata">

**Author:** ![Blag](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.nylas.com/blag/32/9_2.png) [@Blag](https://forums.nylas.com/u/Blag)\
**Post date:** [March 22, 2024, 1:28pm UTC](https://forums.nylas.com/t/hosted-authentication-email-change-block/142/4 "2024-03-22T13:28:32Z")

</div>

> [@bartosz.grzeda](#):
>
> is it possible to force user to use only account with email i provided in auth url?  
> i mean to block this “Użyj innego konta” option (use another account)

I’m not sure this is possible 🤔 but I asked and will let you know 🙂

---

<div class="post-metadata">

**Author:** ![bartosz.grzeda](https://avatars.discourse-cdn.com/v4/letter/b/67e7ee/32.png) [@bartosz.grzeda](https://forums.nylas.com/u/bartosz.grzeda)\
**Post date:** [March 27, 2024, 12:00pm UTC](https://forums.nylas.com/t/hosted-authentication-email-change-block/142/5 "2024-03-27T12:00:26Z")

</div>

hi @Blag, any updates?

---

<div class="post-metadata">

**Author:** ![Blag](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.nylas.com/blag/32/9_2.png) [@Blag](https://forums.nylas.com/u/Blag)\
**Post date:** [March 27, 2024, 12:36pm UTC](https://forums.nylas.com/t/hosted-authentication-email-change-block/142/6 "2024-03-27T12:36:42Z")

</div>

@bartosz.grzeda Sorry, not yet ☹ The Engineering team is on an off-site and slow to respond. I will let you know once they get back to me.

---

<div class="post-metadata">

**Author:** ![Blag](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.nylas.com/blag/32/9_2.png) [@Blag](https://forums.nylas.com/u/Blag)\
**Post date:** [March 27, 2024, 2:16pm UTC](https://forums.nylas.com/t/hosted-authentication-email-change-block/142/7 "2024-03-27T14:16:10Z")

</div>

Alright, I got an answer, although probably not the one you expected ☹

**It is not possible unfortunately. But technically they can then remove the grant if the email didnt match what they wanted it to be.**  
**It would be the same even if they authenticated with google directly and then use custom auth**
