Authentication and User Management #747
-
Hi I am unsure if I am misunderstanding something or if I just missed the relevant information, but I am having some issues wrapping my head around authentication.
Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can run a function each time a user successfully authenticates: https://docs.microsoft.com/en-us/azure/static-web-apps/authentication-authorization?tabs=function#role-management The function is mainly for looking up custom roles, but you don’t need to return any roles. It’ll be passed details about the user that you can save to your database. There’s nothing built-in to see this information. |
Beta Was this translation helpful? Give feedback.
You can run a function each time a user successfully authenticates: https://docs.microsoft.com/en-us/azure/static-web-apps/authentication-authorization?tabs=function#role-management
The function is mainly for looking up custom roles, but you don’t need to return any roles. It’ll be passed details about the user that you can save to your database. There’s nothing built-in to see this information.