-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
with LDAP connect, cant get group info from token #744
Comments
I think you're missing the extra "groups" scope. |
@ericchiang Thanks reply, I can get a group which matching with given uid
|
OAuth2 scopes https://tools.ietf.org/html/rfc6749#section-4.1.1 The examples app as an "additional scopes" field you can type "groups" into. |
@ericchiang seems I have to add additional filed to my static client. I'll close this after checking furthers. |
Can you expand on that? Ideally we'd like to turn this into a doc requirement. E.g. "document accepted scope" or "example app needs better documentation" |
@ericchiang here my dex configs
and here my logs from example-app
here the token I get
|
@ericchiang And Could you inform me how I can enable more logs ?
below is my group info in LDAP
|
This looks wrong.
Please review https://github.com/coreos/dex/blob/master/Documentation/ldap-connector.md#example-mapping-a-schema-to-a-search-config |
@ericchiang |
Hi i'm trying to use dex for k8s authn/authz.
I use LDAP connector with bleow image and configuration.
below is docker image I use
image: quay.io/coreos/dex:v2.0.0-beta.1
below is my ldap connector configuration
from above
I can get token using the example-app
but the claim doesnt have any group information
I can get the entry from ldap client.
Does anyone can inform me what I have to check more ?
I saw below, but cant understand...
#536
or is it related to examle-app ?
below is logs from example-app
The text was updated successfully, but these errors were encountered: