Closed JohnBoneJones closed 4 months ago
Hi @JohnBoneJones - firstly, there is a client secret in clear in the screenshot above. Please invalidate it asap.
The MSAL libraries are extensively tested with AAD, and while we do have it on our roadmap to support other Identity Providers (including Cognito), support is currently experimental.
The error seems to occur because the authorization URI breaks some Cognito rules. MSAL helps create the authorization URI, but it's not a huge deal, you can create it yourself.
Also, perhaps the error message was Cognito expecting some field and values from the token. @JohnBoneJones you can manually examine what tokens MSAL obtained for you, by pasting your tokens into https://jwt.ms and then see if you can customize the tokens.
I ran into this error when setting up a authentication from Azure AD to AWS Cognito for a Django applications. : error_description: Invalid user attributes: _amzn-auth.login_attributes: The value of attribute _amzn-auth.login_attributes is an empty list which is not allowed. Here is my configuration.
Is there anyone knows what attribute that I missed?