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
iOS Obj-C presentEndSessionRequest callback not getting called #698
Comments
|
Can you verify that your app is receiving the custom URL scheme redirect via the |
|
No, BTW, when calling |
|
Check that your Not sure why you would need the |
|
Same problem I am facing in my project recently. But earlier it was working. Facing issue only in safari browser. |
|
Facing same problem in safari browser ios -15 os. |
|
We are facing a similar problem. |
|
@asutah @arindam94 @Sandy417 are you using |
I did find one problem: the redirect URL I was using was an unusual format (it had periods in it). Once I took the periods out of it and used 'xcrun' from the Mac OS CLI (e.g. However, neither 'application:openURL:options:' nor the |
|
@petea |
|
Can you please let us now the possible reasons for not receiving a callback in safari. We tried in a different browser and it is working fine. |
|
Facing the same issues:
|
|
We faced a similar issue where we couldn't log out despite using correct redirect uri, endpoint etc. What solved it for us was assigning presentEndSessionRequest to a variable. I haven't figured why it works, or if it's the correct way, but it somehow works. ¯_(ツ)_/¯ Example (in Swift) |
|
@nnordling -- Thank you for your reply. I can confirm that assigning the return from |
Describe the bug
When using iOS Objective-C presentEndSessionRequest, one of the parameters is 'callback'. However, even though the call seems to succeed (the OAuth credentials are reset) and the annoying 'Sign In' alert appears (#643), the callback doesn't get called.
Expected behavior
I expect the callback to be called. ;-)
Smartphone
Here is the code I'm using in case it helps, where logoutRedirectURL is obfuscated. I've tried with and without the additionalParameters.
#define logoutRedirectURL @"com.mydomain.mobile:/logout"The text was updated successfully, but these errors were encountered: