Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

com.microsoft.identity.client.exception.MsalClientException #2146

Open
chengang151 opened this issue Jul 25, 2024 · 2 comments
Open

com.microsoft.identity.client.exception.MsalClientException #2146

chengang151 opened this issue Jul 25, 2024 · 2 comments

Comments

@chengang151
Copy link

When you click login on an Android 13 machine, you will get this exception, which will prevent you from logging in. Previous Android 11 machines can log in normally, with a hash key added to the website。
Complete exception information exception = com.microsoft.identity.client.exception.MsalClientException:
The redirect URI in the configuration file doesn't match with the one generated with package name and signature hash.
Please verify the uri in the config file and your app registration in Azure portal.
We expected 'msauth://com.example.androidwhiteboard/ywYdOi1G7E%2BDKV3cs9O2ugs%2Bdbk%3D'
and we received 'msauth://com.example.androidwhiteboard/JxluOGuHXnat9wDn6oTkxu7jPfo%3D'.

@mrentmeister-tt
Copy link

I am running into the same issue. I was using the documentation listed here: https://learn.microsoft.com/en-us/entra/identity-platform/tutorial-v2-android

@kcfdaniel
Copy link

same issue. changing the package name to something else fixed it, but not sure why my original package name doesn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants