Skip to content

Infinite loop on canceling in OAuth authorize page #57

@Venefilyn

Description

@Venefilyn

When canceling from the OAuth provider, it redirects back to callback but fails to handle correctly. Instead choosing to redirect back to OAuth login

image

Error: The resource owner or authorization server denied the request.
    at getAuthError (\node_modules\client-oauth2\src\client-oauth2.js:122:15)
    at CodeFlow.getToken (\node_modules\client-oauth2\src\client-oauth2.js:603:13)
    at Handler.authenticateCallbackToken (\node_modules\nuxt-oauth\lib\handler.js:97:40)
    at \node_modules\nuxt-oauth\lib\server-middleware.js:48:20 {
  body: [Object: null prototype] {
    error: 'access_denied',
    error_description: 'The resource owner or authorization server denied the request',
    state: 'eyJyZWRpcmVjdFVybCI6Ii8ifQ=='
  },
  code: 'EAUTH'
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions