iOS frame doesn't redirect back to app after IdentityServer login
Make sure to check the demo app(s) for sample usage
Make sure to check the existing issues in this repository
If the demo apps cannot help and there is no issue for your problem, tell us about it
Please, ensure your title is less than 63 characters long and starts with a capital letter.
Which platform(s) does your issue occur on?
- iOS
- iOS 15.2
- emulator. iPhone 13 Pro
Please, provide the following version numbers that your issue occurs with:
- CLI: 8.1.4
- Cross-platform modules: (check the 'version' attribute in the
node_modules/tns-core-modules/package.jsonfile in your project) - Runtime(s): 8.1.0
- Plugin(s): "nativescript-oauth2": "3.0.7"
Please, tell us how to recreate the issue in as much detail as possible.
Hi, I'm trying to implement identity server login on iOS (on Android it works like a charm). But after successful login in the frame, it's not closing.
Here are my OAuth settings:
const identityServerProviderOptions: TnsOaProviderOptionsIdentityServer = {
openIdSupport: 'oid-full',
issuerUrl: '*****',
clientId: 'chronosmobiledev',
urlScheme: 'chronosmobiledev',
redirectUri: 'chronosmobiledev:/authenticated',
scopes: ['openid', 'profile', 'offline_access'],
};
And part of Info.plist:
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>org.nativescript.chronos</string>
<key>CFBundleURLSchemes</key>
<array>
<string>chronosmobiledev</string>
</array>
</dict>
</array>
I can't find out what I'm doing wrong. If I try to open chronosmobiledev:/authenticated in Safari it will ask if I want to open my app, but the oauth frame is not closing after successful login.
https://github.com/alexziskind1/nativescript-oauth2/issues/156
We have had the same issue, appears to have started in 3.0.3.
Upgraded to 3.0.7. from 2.4.4. and this same issue appeared on iOS (android is fine). I went back to 3.0.1. and still had the issue. App has been migrated to NS7 and cannot go back past 3.0.1. causing dependency issues.
Hi , Any update on this? We are facing same issue Thanks
this is still not working on IOS. I cannot find an alternative plugin for Azure and nativescript 8.