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

Impossible to refresh tokens #57

Open
psagne opened this issue Mar 5, 2018 · 1 comment
Open

Impossible to refresh tokens #57

psagne opened this issue Mar 5, 2018 · 1 comment

Comments

@psagne
Copy link

psagne commented Mar 5, 2018

I have configured a client, with the scope "offline_access".

I call the authorize endpoint with this scope, and the response_type set as "code".

I can get a token and a refresh token when calling the token endpoint.

But when I try to refresh the token, with the refresh_token I received, I always get an error saying "Bad refresh token".

I see nothing related to this error in the shibboleth logs.

The call I make to refresh the token is like : curl -X POST -d "client_id=my-client-id&client_secret=my-secret&grant_type=refresh_token&refresh_token=THE_REFRESH_TOKEN_I_RECEIVED&redirect_uri=http%3A%2F%2Flocalhost%2Fcallback" https://my-idp-address/idp/profile/oidc/token

@psagne
Copy link
Author

psagne commented Mar 27, 2018

Am I the only one facing this problem? Was the token refresh working when you were testing?

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

1 participant