openid / AppAuth-iOS

iOS and macOS SDK for communicating with OAuth 2.0 and OpenID Connect providers.
https://openid.github.io/AppAuth-iOS
Apache License 2.0
1.76k stars 770 forks source link

I have configed it with identityserver4 on IOS ,But it can't redirect URI。 #554

Open xaqfan opened 4 years ago

xaqfan commented 4 years ago

I have configed it with identityserver4 on IOS 13.5.1, It pop a viewcontroller and login successfully. However it is redirecting to redirect URI? And view loaded nothing in here.

shashi-kiwi commented 4 years ago

Hey @xaqfan , Just Add this let say your ClientID is - "abc.apps.googleusercontent.com" so Redirect URI will be like this let kRedirectURI: String = "com.googleusercontent.apps.abc:/oauthredirect"

redirect will work.

Thanks, Shashi

adozenlines commented 3 years ago

Failure to redirect to non-web agents i.e. iOS or Andriod apps is a known issue with identityserver4.

brockallen commented 3 years ago

Failure to redirect to non-web agents i.e. iOS or Andriod apps is a known issue with identityserver4.

Can you provide a link to an open issue with for this, please? If there's an issue, then we'd like to know about it so we can fix. Thanks!