Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O official-plugins
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 15
    • Issues 15
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Framasoft
  • PeerTube
  • official-plugins
  • Merge requests
  • !2

Add Keycloak compat by using first element of role

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Bastien Le Querrec requested to merge bastien/official-plugins:keycloak-compat into master Aug 08, 2020
  • Overview 2
  • Commits 1
  • Changes 1

This MR checks if role value returned is an array. If so, plugin uses the first element of this array.

This improves Keycloak compatibility as if Multivalued is set to false in Mappers, return value will still be an array.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: keycloak-compat