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

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

Open
Decipher opened this issue Jul 27, 2023 · 0 comments
Open
Labels
bug Something isn't working enhancement New feature or request

Comments

@Decipher
Copy link
Member

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

@Decipher Decipher added bug Something isn't working enhancement New feature or request labels Jul 27, 2023
Decipher added a commit that referenced this issue Jul 28, 2023
Decipher added a commit that referenced this issue Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant