Skip to content

Missing scope parameter / Support for Simple OAuth2 6.x Drupal module #35

@Decipher

Description

@Decipher

Describe the bug
When using DruxtAuth with the Simple OAuth2 6.x Drupal module you get the following error:

{
error: "invalid_request",
error_description: "The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed.",
hint: "Check the `scope` parameter",
message: "The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed."
}

The issue is caused by DruxtAuth having no support or means to send scope settings.

To Reproduce
Steps to reproduce the behavior:

  1. Setup DruxtAuth <-> Simple Oauth2 6.x site
  2. ...
  3. See error

Expected behavior
Have the ability to configure the scopes to be used alongside the existing Druxt Auth config.

Media
N/A

Your Environment (please complete the following information):
N/A

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions