Description
Checklist:
- I am using the latest release
- I searched for existing GitHub issues
- I read the documentation
- I verified the client configuration matches the information in the identity provider (or I am using dynamic client registration)
- I am either using a custom URI scheme or
https
with App Links for client redirect. - I can reproduce the issue in the demo app (optional)
Configuration
- Version: 0.11.1
- Integration: Kotlin
- Identity provider: Ac
Issue Description
We have used this library to implement OIDC for one of the identity providers. Authentication and fetching the token is working fine. We are working on implementing logout (end session) functionality to make sure the cookies are cleared by the identity provider.
This is the sample URL provided by our identity provider.
https://?client_id=*********1234hdghd&logout_uri=com.xyz:/logout
val endSessionIntent: Intent = authService.getEndSessionRequestIntent(
EndSessionRequest.Builder(
OIDCConfig.getServiceConfigLogout()
).setState(null)
.setAdditionalParameters(
mapOf(
OIDCConfig.CLIENT_ID_KEY to OIDCConfig.CLIENT_ID,
OIDCConfig.LOGOUT_URI_KEY to OIDCConfig.LOGOUT_REDIRECT_URI
)
).build()
)
oIDCLogoutResultLauncher.launch(endSessionIntent)
I am using above code to achieve it, I am able to launch the custom tabs but the screen shows this error. Is the error caused by app auth library as its missing something or coming from our identity provider. Any help is appreciated. Thanks