Can I use both the Login/Logout API and the OAuth Version of the Same endpoints (mix and match)?
-
Can I use both the Login/Logout API and the OAuth Version of the Same endpoints (mix and match)?
-
Ideally, you would be using the Oauth2 login and logout endpoints which would also give you SSO, and a lot of other features such as forgot password, passwordless, two-factor login, account lockout, federated logins, etc.
If you have a technical reason not to use OAuth - the Login API is available. Using the Login API means you will be coding all of the end-user workflows described above such as two-factor, forgot password, etc yourself.
Our Five Minute Guide Covers one of the most common OAuth Grants and workflows available.
https://fusionauth.io/docs/v1/tech/5-minute-setup-guide/#undefined