Skip to content
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

keycloak-js validate token without a refresh token #17

Open
clayrisser opened this issue Apr 23, 2023 · 1 comment
Open

keycloak-js validate token without a refresh token #17

clayrisser opened this issue Apr 23, 2023 · 1 comment
Assignees

Comments

@clayrisser
Copy link

Description

Currently, the keycloak-js client requires both a token and a refresh token to be provided for initialization. However, there are scenarios where someone may have only a token without a refresh token, and would still like to initialize the client using this token.

Discussion

No response

Motivation

By allowing users to initialize the keycloak-js client with a token only, without the requirement for a refresh token, we can provide greater flexibility and convenience in scenarios where a refresh token may not be readily available. This can improve the user experience and make it easier for developers to integrate Keycloak authentication and authorization into their applications. Additionally, this can enable support for scenarios such as single sign-on with limited token lifetimes or use cases where refresh tokens are not issued by the identity provider.

Details

No response

@clayrisser clayrisser changed the title Validate token without a refresh token keycloak-js validate token without a refresh token Apr 23, 2023
@clayrisser
Copy link
Author

Just opened a pull request to support this.

@jonkoops jonkoops self-assigned this May 11, 2023
@jonkoops jonkoops transferred this issue from keycloak/keycloak Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants