by kayman · 6y ago · 0 comments
To accomodate that you design your page so the user first enters username. In your system you check based on email who the identity provider is and redirect to that login journey.
For e.g. if Microsoft you redirect to Microsoft login page to authenticate.
If successful the third party login provider will send you back to your app with a JWT. In your app you check if the JWT is valid - if so allow access.
On first entering email on login, If your login provider is your own app, you redirect to your own login password page.
I had to look it up.
This means the user now has to remember which email he used on your app, which is not very different from remembering which third party provider you used before.
Maybe I'm missing something, but how would you explain why Google does this two step login process?
And then, if you're already logged in according to the auth provider, you don't have to type your password either.
A good thing about tgis is that the providers can require different kinds of MFA at their discretion though.
But, what would happen to that poor app if I have a live account associated with my gmail and a google account associated with my o365 mail? ....
Come to think of it, I have an email account to which I have associated an ms live account AND an o365 corporate account, and a google account ... Very confusing ...
Maybe they're just joining a trend that they don't realise has benefits to others but not themselves?