Checklist
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
Checklist
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
url:
https://login.example.com/authorize?response_type=code&client_id=xyz&redirect_uri=encodeURICOmponent('https://example.com'),windowName: '_self',
});
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