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

Safari cannot open the page because the address is invalid #46

Closed
DaehyunLee opened this issue Dec 14, 2020 · 3 comments
Closed

Safari cannot open the page because the address is invalid #46

DaehyunLee opened this issue Dec 14, 2020 · 3 comments
Labels

Comments

@DaehyunLee
Copy link

Hello, Thank you for the sample.
I'm encountering an issue and was wondering if someone can point me in the right direction.

20201214_132248463_iOS

I've set things up referencing the read me and this post. (#28)
Where would I be able to find out the invalid address?
Would love to dig in a bit more myself to find out what the invalid address is, but not sure where to go aside from debugging the MSAL library itself.

This is the log that shows in the debug console.
%@ TID=282805 MSAL 1.0.0 iOS 14.3 [2020-12-14 13:22:19 - 73701494-1B4E-469D-AD0E-F68CAD810634] [MSAL] Beginning interactive flow. %@ TID=282805 MSAL 1.0.0 iOS 14.3 [2020-12-14 13:22:19 - 73701494-1B4E-469D-AD0E-F68CAD810634] [MSAL] Resolving authority: Masked(not-null), upn: Masked(null) %@ TID=282805 MSAL 1.0.0 iOS 14.3 [2020-12-14 13:22:19 - 73701494-1B4E-469D-AD0E-F68CAD810634] [MSAL] Resolved authority, validated: NO, error: 0 %@ TID=282805 MSAL 1.0.0 iOS 14.3 [2020-12-14 13:22:19] Start background app task with type 0 2020-12-14 08:22:54.738659-0500 MSALiOSB2C[617:282805] [BackgroundTask] Background Task 5 ("Interactive login"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(_:) for your task in a timely manner to avoid this.

@DaehyunLee DaehyunLee changed the title "Safari cannot open the page because the address is invalid" Safari cannot open the page because the address is invalid Dec 14, 2020
@DaehyunLee
Copy link
Author

The problem was the app registration being setup incorrectly.

Following the steps here solved it.
https://docs.microsoft.com/en-us/azure/active-directory-b2c/signin-appauth-ios?tabs=app-reg-ga

@aherciya
Copy link

@DaehyunLee Please let us know if there was something you found confusing in our documentation.

@ameyapat
Copy link

Closing as resolved

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

No branches or pull requests

3 participants