-
Notifications
You must be signed in to change notification settings - Fork 28
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
Which redirect url should I use? #40
Comments
@luancaius does this work for you ? final aadB2CRedirectURL = 'customScheme://your_bundle_id/auth'; |
have a look here: #23 |
@mohanajuhi166 I tried the following scenarios:
On IOS I got a null exception:
and on Android I got Webpage not available with the token response and net::ERR_NAME_NOT_RESOLVED. Test 2 - Same as 1 for url "https://.b2clogin.com/oauth2/nativeclient" What I have working is using fluuter_appauth 6.0.6 and the following settings on azure and flutter: Do I need to delete the other redirects and leave just the Web one? |
@luancaius at the moment , the web redirect should work so you can try deleting those . Will look into the implementation by https://pub.dev/packages/flutter_appauth/example and implement it. |
Tried deleting all others, and it was loading the login page, but still not working. My redirect url was https://bundle_id/auth. On IOS the login didn't redirect and on Android I got Webpage not available with the token, like before. |
Hello, first, congrats on the project, it makes the user experience with azure ad b2c much better.
I was trying to setup on my app, but I'm having trouble with the redirect url.
For example if my bundle id is com.example.mobile and the redirect url on azure ad b2c for ios is msauth.com.example.mobile://auth, what should I replace that as redirect url?
I tried to create a SPA redirect url on azure ad b2c, put a random url and it redirected after login, but I need to make it come back to the app instead of visiting another url.
Any ideas on how to fix this? Thanks!
The text was updated successfully, but these errors were encountered: