But i need to create a database in the backend where when a user login's i can CRUD there information in the database.
I'm familiar with creating this workflow using a username and password where i would bcrypt the password, compare the passwords, log them in, then they gain access to there site and database information with the ability to CRUD the database.
(heres an example of a flow i would use): https://www.bezkoder.com/react-express-authentication-jwt/
However, i have Microsoft Graph API doing the login and logout logic. So there is no password comparison. Whats the best way to go about this? Does Microsoft Graph API have a solution for this? I just need help wrapping my brain around going about this. thank you.
i believe it might be as simple as creating a token after a successful login but not sure how that flow would look like.
any help would be greatly appreciated. thanks