Skip to content

Token refresh flow is not implemented #665

Description

@bojanbg

Describe the bug
Token refresh flow doesn't refresh the token, but simply runs the normal auth flow again from the start.

To Reproduce
Steps to reproduce the behavior:

  1. Authenticate using either "Guided OAuth Flow" or "Quick OAuth Flow"
  2. Then request token refresh either using "Guided Token Refresh" or "Quick Refresh".

Expected behavior

  • Not to have a Client Registration step, since token refresh should use the existing client id.
  • Use auth server's token refresh functionality, instead of registration/authentication flow. Especially, grant_type should be refresh_token.

Logs
Initiating token refresh clearly shows

grant_type=authorization_code

in the POST request's form data. Instead it should be grant_type=refresh_token

Additional context
Related to #608, but the difference is that there it is about not refreshing the token after a timeout, but here it is about the manual "Guided Token Refresh"/"Quick Refresh" flow.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    authIssues and PRs related to authorizationbugSomething isn't workingclosed-v1-deprecatedClosed: v1 is deprecated and accepting security fixes onlyv1

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions