-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Labels
bugThis points to a verified bug in the codeThis points to a verified bug in the code
Description
Checklist
- The issue can be reproduced in the auth0-angular sample app (or N/A).
- I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
- I have looked into the API documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- I agree to the terms within the Auth0 Code of Conduct.
Description
When setting the redirect_uri to an https app link (Android app links), auth0 redirects to the https link and the browser doesn't close. When using a com.app.apptype style link, the browser does close.
I have determined that this is an issue with auth0 because the exact same code works with Amazon's auth flow.
Reproduction
- When using a redirect_uri that is https, the browser that is opened redirects to the url and does not navigate back to the app even though example.com is set up as an App Link and confirmed to be working:
- Browser.open({
url:https://login.example.com/authorize?response_type=code&client_id=xyz&redirect_uri=encodeURICOmponent('https://example.com'),
windowName: '_self',
}); - When the redirect_uri is of the format com.app.app, the browser closes and links back into the app as expected.
Additional context
The app links are confirmed to be working and when the same flow is followed for linking to Amazon, the browser does close on Amazon's redirect.
The only difference I can think of is that for Amazon, there's a button to click (allow) before the browser window closes. If this bug is related to auth0 doing a redirect and not having user interaction with the page, then I'm not sure how to handle it.
auth0-angular version
2.2.3
Angular version
18.0.1
Which browsers have you tested in?
Chrome
Metadata
Metadata
Assignees
Labels
bugThis points to a verified bug in the codeThis points to a verified bug in the code