-
Notifications
You must be signed in to change notification settings - Fork 775
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 Logout Crash : The service configuration is missing an end_session_endpoint. #806
Comments
Did you do endpoint setup by discovery? Or you declared endpoints manually? |
I didn't understand what you said. Have you logged out using this library before? If so, can you share sample code? |
The crash logs are quite explicit - you need to specify to end_session_endpoint in the configuration. |
Can you explain with example swift code? |
Hello Everyone, I'm facing an issue with integrating Auth0 to log out of my iOS app using the AppAuth SDK. When using Keycloak, everything works fine because it provides an end_session_endpoint, but with Auth0, this endpoint is missing, leading to problems during logout. I've tried implementing a fallback mechanism by constructing a custom logout URL, but although the app no longer crashes, the logout process still doesn't work correctly. Here's the code I'm using: func logout(forCredential credential: AlfrescoCredential) {
} I would appreciate any insights or suggestions on how to make the logout process work correctly with Auth0, especially when the end_session_endpoint is not provided. Thank you! |
According to their docs they do have an end_session_endpoint. |
@KarlBusse Thanks I got the end_session_endpoint. But Logout is not working I am using the below code
The error is that Safari cannot open the page because the address is invalid. |
Hi Guys,
I crash while trying to logout :
*** Assertion failure in -[OIDEndSessionRequest endSessionRequestURL], OIDEndSessionRequest.m:184
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'The service configuration is missing an end_session_endpoint.'
*** First throw call stack:
(
0 CoreFoundation 0x0000000180437330 __exceptionPreprocess + 172
1 libobjc.A.dylib 0x0000000180051274 objc_exception_throw + 56
2 Foundation 0x0000000180ae29b4 _userInfoForFileAndLine + 0
3 ....
My Request:
let authorizationEndpoint = URL(string: Constants.ApiGa.authorizationEndpoint)!
let tokenEndpoint = URL(string: Constants.ApiGa.tokenEndpoint)!
let configuration = OIDServiceConfiguration(authorizationEndpoint: authorizationEndpoint,
tokenEndpoint: tokenEndpoint)
Please Help :/
The text was updated successfully, but these errors were encountered: