You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OAuth refresh grant returns 500 internal server error #1533
The openid configuration available at the .well-wknow iri for the NSS identity provider (e.g. https://solid.zwifi.eu/.well-known/openid-configuration) indicates support for the refresh_token grant. However, when issuing a refresh token request that should be valid (see below), the response is Internal Server Error.
Get a client ID, secret and a refresh token. That may be done by inspecting the dynamic registration of a client when logging in with an app for instance.
Use the credentials to fill in the request above (client ID and secret should be base64-encoded)
Expected result
A 200 response with a JSON object in the body containing a new, valid access token.
Activity
agentydragon commentedon Feb 16, 2021
Seeing the same. Also getting a 500 error without
Authorizationheader and with passing client ID and secret in query parameters.jaxoncreed commentedon Feb 25, 2021
Well, it looks like it was never implemented: https://github.com/solid/oidc-op/blame/main/src/handlers/TokenRequest.js#L500. The
refreshmethod ofAccessTokenneeds to be created. Though, all the infrastructure that's needed before that seems to be there.jaxoncreed commentedon Feb 25, 2021
Okay I've built the feature here: nodeSolidServer/oidc-op#30. Note that this has not been thoroughly tested.