this question is more theorical so I don't know if it should be here. I want to use OAuth2 to Authenticate my user. I was searching on google and found out that there are many workflows of OAuth 2 and I don´t know what to use.
My front-end is developed in React and my back-end is developed on java with springboot.
The users are saved on a database or on the ldap servers, depending on which the person wants to use.
My application is also a Single page app, the only time it refreshes is when the user logs out.
Thanks for your help!