Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure B2C and Login Hint

I'm working with Azure Mobile Apps to host my site. I'm using B2C to control authentication.

If I make the following call to login (in this case from a browser):

https://mydomain.azurewebsites.net/.auth/login/aad

Then I get my company branding login settings just fine. Images, etc. are great.

But I want to fill in the username for convenience.

So if I make this call to login (same client):

https://mydomain.azurewebsites.net/.auth/login/[email protected]

Then the login name (login_hint) value shows up in the username field just great, but all my company branding is lost.

Can anyone tell me what I'm doing wrong? I tried domain_hint just flailing about and it didn't work, either.

Thanks in advance.

like image 686
Bill Noel Avatar asked Feb 28 '17 20:02

Bill Noel


1 Answers

This is by design.

If the login hint was not a gmail account or another account that doesn't match your tenant domain, then you wouldn't lose it. If you give a login hint for your user in your tenant, then you will have your company branding.

like image 113
Daniel Dobalian Avatar answered Oct 13 '22 00:10

Daniel Dobalian