You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: