Replies: 3 comments 7 replies
-
Not really sure to understand your issue and didn't see what your are expected to work the group or the users mapping? |
Beta Was this translation helpful? Give feedback.
-
My openID provider works fine when I am using user email(First snipped above) to map roles. However when I am trying to use groups(second snipped above) I am ending with endless redirect to login page. It seems roles=[] are empty in this scenario. I am trying to find out why
|
Beta Was this translation helpful? Give feedback.
-
Just wanted to let you know that I managed to get group mapping working using JumpCloud after quite a bit of trial and error. Here's a quick explanation for anyone searching: JumpCloud Configuration
AKHQ Configurationconfiguration:
akhq:
security:
default-group: no-roles
oidc:
enabled: true
providers:
jumpcloud:
label: "Login with JumpCloud"
username-field: email
groups-field: groups
default-group: no-roles
groups:
- name: <oidc-admin-group>
groups:
- admin
secrets:
micronaut:
security:
enabled: true
oauth2:
enabled: true
clients:
jumpcloud: # This is the OIDC_NAME referred to in your redirect/login URLs
client-id: <client-id>
client-secret: <client-secret>
scopes:
- email
- openid
- groups
- roles
- profile
- offline_access
openid:
issuer: https://oauth.id.jumpcloud.com
configuration-path: "/.well-known/openid-configuration" You will also need to use the |
Beta Was this translation helpful? Give feedback.
-
Hi
I set up AKHQ via JumpCloud OpenID provider. It works fine using OIDC and their names claims however i can't map specyfic groups to roles.
However when I am trying to map groups using snippet bellow I am receiveing empty roles. How to approach to debug this?
My full config:
Beta Was this translation helpful? Give feedback.
All reactions