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

Enable authentication #405

Open
4 tasks
Decipher opened this issue Feb 23, 2022 · 0 comments
Open
4 tasks

Enable authentication #405

Decipher opened this issue Feb 23, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@Decipher
Copy link
Member

Decipher commented Feb 23, 2022

Is your feature request related to a problem? Please describe.
As a user I want to see a demo with working authentication.

Describe the solution you'd like

  • Updated Druxt to 0.18.0
  • Update auth configuration
  • Implement solution in backend for callback

Describe alternatives you've considered

  • Create DruxtAuth module

Additional context
Config: authorization_code grant with PKCE support.

  auth: {
    redirect: {
      callback: '/callback',
      logout: '/',
    },
    strategies: {
      drupal: {
        scheme: 'oauth2',
        endpoints: {
          authorization: baseUrl + '/oauth/authorize',
          token: baseUrl + '/oauth/token',
          userInfo: baseUrl + '/oauth/userinfo',
        },
        clientId: process.env.OAUTH_CLIENT_ID,
        responseType: 'code',
        grantType: 'authorization_code',
        codeChallengeMethod: 'S256',
      },
    },
  },
@Decipher Decipher added the enhancement New feature or request label Feb 23, 2022
Decipher added a commit that referenced this issue May 4, 2022
# Conflicts:
#	nuxt.config.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant