You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Managed to login and get redirected to /auth/callback, following example code.
However, once redirected, it hits the below issues (trace included below).
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi_sso\sso\base.py", line 185, in verify_and_process
return await self.process_login(
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi_sso\sso\base.py", line 242, in process_login
return await self.openid_from_response(content)
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi_sso\sso\microsoft.py", line 45, in openid_from_response
return OpenID(email=response["mail"], display_name=response["displayName"], provider=cls.provider)
KeyError: 'mail'
The text was updated successfully, but these errors were encountered:
I managed solved my own problem. Turns out it is insufficient permission set in the Azure AD app registration. The solution is to "Grant" the APIs under "API Permission"
I'm using Microsoft SSO.
Managed to login and get redirected to /auth/callback, following example code.
However, once redirected, it hits the below issues (trace included below).
The text was updated successfully, but these errors were encountered: