Skip to content

[iOS] Universal links do not return the user to the app when you set the redirect URI to it #390

Description

@Marc-Antoine-Soucy

Checklist

  • I have looked into the Readme and the documentation, 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

Following a client request informing us that auth0 is encouraging people to switch from custom schemes to https based callbacks, I tried to switch the app from custom schemes to app links and universal links. On android, it worked.

On iOS, I have an issue where the browser, instead of navigating to the app, it navigates to the website inside of the web authentication browser after you finish authenticating.

Image

I have verified that the universal link works from the "note" app, and I left some logs for when this happens. These logs are not present when I finish authenticating with auth0.

Reproduction

Have a functioning app that uses auth0 for authentication, add associated domains capabilities, override ContinueUserActivity, change the redirect URI's to the universal link Uri with:

auth0ClientOptions.RedirectUri = redirectUri;
auth0ClientOptions.PostLogoutRedirectUri = redirectUri;

Additional context

I can see that in the documentation for .net iOS/android, there are only the instructions for using custom schemes. I'm not entirely sure if this should have been opened as a feature request.

Is this something not supported right now, and is there a plan to support it in the future?

auth0-oidc-client-net version

4.4.0

.NET version

9

Platform

iOS

Platform version(s)

The phone is: ios 26.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions