CodeEmpower
CodeEmpower

Reputation: 663

How and what should i set C# Xamarin IOS Auth0 callback (URL mismatch)

Looking at Auth0 settings, I see that I need to set callback URL for my users to be redirected to a different page in the app once logged in. SOF seems to be using localhost URLs, the documentation uses a specific format https://auth0.github.io/auth0-oidc-client-net/documentation/getting-started/callbacks.html#:~:text=Callback%20URLs%20are%20the%20URLs,an%20id_token%20%2C%20access_token%20and%20refresh_token%20. in either cases I keep getting "The provided redirect_uri is not in the list of allowed callback URLs" My setting on Auth0: com.mycompany.myapp://MyTenant.us.auth0.com/ios/com.mycompany.myapp/callback

the app bundle identifier is correctly set to com.mycompany.myapp

following https://auth0.com/blog/developing-mobile-apps-with-xamarin-forms-and-azure-functions/ my info.plist also is populated with needed URL package identifier.

Upvotes: 0

Views: 268

Answers (0)

Related Questions