Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • lemonldap-ng lemonldap-ng
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 327
    • Issues 327
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • LemonLDAP NGLemonLDAP NG
  • lemonldap-nglemonldap-ng
  • Issues
  • #2550
Closed
Open
Issue created Jun 18, 2021 by Maxime Besson@maxbes🔧Maintainer

Token endpoint should only emit ID token when scope contains "openid"

Concerned version

Version: 2.0.12

Summary

Use case 1:

  • Configure resource owner password grant and allow refresh tokens
  • Request an access token without "openid" in the scope
  • ID token is ommited from response => GOOD
  • refresh the access token
  • ID token is included in refresh response => BAD

Use case 2:

  • Configure resource owner password grant and allow refresh tokens
  • Request an access token with "openid" in the scope
  • ID token is ommited from response => BAD
  • refresh the access token
  • ID token is included in refresh response => GOOD
Assignee
Assign to
Time tracking