oidc-client-ts icon indicating copy to clipboard operation
oidc-client-ts copied to clipboard

Does this library support introspection endpoint?

Open Sameer259310 opened this issue 2 years ago • 3 comments
trafficstars

Most of the OIDC providers support introspection_endpoint to manage users session. It seems like, this library is supporting check_session_iframe endpoint, and not introspection endpoint. will it work with OIDC providers that are not supporting check_session_iframe endpoint for session management? (In my case, its Salesforce IDP)

Sameer259310 avatar Jul 07 '23 17:07 Sameer259310

This library does not support introspection_endpoint. You will need to extend it to do so, you should be able to extend the classes (MetadataService, OidcClient) on your side.

pamapa avatar Jul 10 '23 06:07 pamapa

As per my understanding from your response, we have to manually introspect token endpoint using these classes. By doing so, will we able to manage user session and token expiry or we have to write custom logic for that too?

Sameer259310 avatar Jul 10 '23 16:07 Sameer259310

Yes, you will need to write code to do so. Would be nice if you could share that code here...

pamapa avatar Jul 11 '23 09:07 pamapa