Hello everyone,
I would like to ask how to use OAuth2.0 to implement 2FA and SSO.
I am creating an external app and want to use OAuth2.0 to implement two-factor authentication and single sign-on.
I found the Microsoft Login Connector forge and implemented the login function according to the video below.
https://www.youtube.com/watch?v=0h-T6bwr1Uc
But I don't understand whether this has achieved the function I want, and after logging in, how can I get the mail address?
Hi YITONG LYU ,You can implement the SSO using Microsoft Login Connector forge. You need to download the necessary forge component for the same.On the callback page after successful authorisation you can get logged in user id based on that Id you can get the user's email ID.Please refer below pdf file for the demo.Thanks.
Hi @Ajit Kurane ,
Thank you for your replay.
After I did it like the pdf, after entering the Login screen, there is no page for entering the password, only a page for entering the mail address.
Login Screen:
After entering, it jumps to the Microsoft Authenticator verification screen.
I would like to ask, is this considered 2-factor authentication? Or Windows authentication?
After Microsoft authentication, how can I log in to Outsystems directly and get the current user's email?
It is two factor authentication and you can get user email details on callback page after succesfull authentication of the user. Then you can use the current user Id and based on that fetch the email Id from backend.
Thanks.