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
I've installed this package via npm and do not have the option to pass a --variable flag for the KEY_HASH when trying to install.
When I attempt to run this project in my Android emulator, I am receiving the following error:
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://my.app.id/V9TNgm3ss7ySoUoh9dePAbZqQSA%3D' and we received 'msauth://my.app.id/mYaCtUaLkEyHaSh%3D'.
I am uncertain where the V9TNgm3ss7ySoUoh9dePAbZqQSA= KEY_HASH came from and I believe that I changed the variable each place I can in my project to my actual key hash value.
Here is what I have updated in my Capacitor 5 project:
@bradical1379 is it possible that V9TNgm3ss7ySoUoh9dePAbZqQSA= is the key you've assigned to the app in the Azure B2C web portal? I.e., it's not that your app has the wrong key, but rather that you've put the wrong key hash into Azure B2C instead?
I've installed this package via
npm
and do not have the option to pass a--variable
flag for theKEY_HASH
when trying to install.When I attempt to run this project in my Android emulator, I am receiving the following error:
I am uncertain where the
V9TNgm3ss7ySoUoh9dePAbZqQSA=
KEY_HASH came from and I believe that I changed the variable each place I can in my project to my actual key hash value.Here is what I have updated in my Capacitor 5 project:
capacitor.config.ts
:AndroidManifest.xml
:Each time I try and rebuild the app and run it in the emulator, I receive the same error message above.
Here is how I am attempting to call
msalInit
:Any thoughts as to what I may doing wrong?
The text was updated successfully, but these errors were encountered: