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

Documentation not complete for iOS #10

Open
NDrexlAxonom opened this issue Feb 5, 2020 · 0 comments
Open

Documentation not complete for iOS #10

NDrexlAxonom opened this issue Feb 5, 2020 · 0 comments

Comments

@NDrexlAxonom
Copy link

Hey everyone, after trying to get this to work for the past day or so on iOS with the app I am working on I found some things that didn't make it into the documentation to make iOS work with different Redirect URI's that the example provided.

First off, in the 'iOS support' section, you guys mention the file 'OAuthUnityAppController.mm'. There is no such file, but instead its just 'AuthUnityAppController.mm'. This confused me at first and may need to be changed for future users (documentation or file name).

Secondly, once you change the RedirectUri in the OidcClientOptions you need to change it in that 'AuthUnityAppController.mm' to match (without the "://callback" appended). But that isn't the only place you need to change. In 'BuildPostProcess.cs' you will have to change the registering url schemes to match your app's info. Including the app's bundle identifier and URL scheme (the redirect uri). Changing those made it finally work for me!

Thanks for the great plugin guys!

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

No branches or pull requests

1 participant