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

Persist Authorizations broken #440

Closed
nynymike opened this issue Jan 17, 2017 · 0 comments
Closed

Persist Authorizations broken #440

nynymike opened this issue Jan 17, 2017 · 0 comments
Assignees
Labels
bug bug in code
Milestone

Comments

@nynymike
Copy link
Contributor

In 3.0.0 beta 3, persistent authorizations is broken. I tried the following:

  1. Created a client without pre-authorization and persist authorizations=true
  2. Logged as user once -- was presented with the authorization screen
  3. Logged out
  4. Logged in as same user -- was still presented with authorization screen.

Client LDIF

dn: inum=@!E25E.32AB.D050.5420!0001!91D2.BE2F!0008!3B38.15C1.620E.3359,ou=client
 s,o=@!E25E.32AB.D050.5420!0001!91D2.BE2F,o=gluu
displayName: Badger mod_auth_openidc
oxAuthClientSecret: bc7aL8PL8wDZ4Vlp2Mg0rE4FqCI8/9LXSlRR7IqKPh8=
oxAuthGrantType: authorization_code
inum: @!E25E.32AB.D050.5420!0001!91D2.BE2F!0008!3B38.15C1.620E.3359
oxAuthLogoutSessionRequired: false
oxAuthAppType: web
oxPersistClientAuthorizations: true
oxAuthRedirectURI: https://badger.gluu.info/callback
oxAuthScope: inum=@!E25E.32AB.D050.5420!0001!91D2.BE2F!0009!F0C4,ou=scopes,o=@!E
 25E.32AB.D050.5420!0001!91D2.BE2F,o=gluu
oxAuthScope: inum=@!E25E.32AB.D050.5420!0001!91D2.BE2F!0009!43F1,ou=scopes,o=@!E
 25E.32AB.D050.5420!0001!91D2.BE2F,o=gluu
oxAuthScope: inum=@!E25E.32AB.D050.5420!0001!91D2.BE2F!0009!764C,ou=scopes,o=@!E
 25E.32AB.D050.5420!0001!91D2.BE2F,o=gluu
oxAuthResponseType: code
oxAuthSubjectType: pairwise
oxAuthTokenEndpointAuthMethod: client_secret_basic
objectClass: oxAuthClient
objectClass: top
oxAuthClientSecretExpiresAt: 20180102120000.000Z
oxAuthTrustedClient: false

Persistent Client Authorization

dn: oxId=7dba0d4b-297a-4875-bc25-061f49779a0d,ou=clientAuthorizations,inum=@!E25
 E.32AB.D050.5420!0001!91D2.BE2F!0000!A8F2.DE1E.D7FB,ou=people,o=@!E25E.32AB.D05
 0.5420!0001!91D2.BE2F,o=gluu
oxAuthClientId: @!E25E.32AB.D050.5420!0001!91D2.BE2F!0008!3B38.15C1.620E.3359
oxId: 7dba0d4b-297a-4875-bc25-061f49779a0d
objectClass: top
objectClass: oxClientAuthorizations
@nynymike nynymike added the bug bug in code label Jan 17, 2017
@nynymike nynymike added this to the CE 3.0.0 milestone Jan 17, 2017
qbert2k added a commit that referenced this issue Jan 19, 2017
Persist Authorizations broken
qbert2k added a commit that referenced this issue Jan 20, 2017
qbert2k added a commit that referenced this issue Jan 20, 2017
@qbert2k qbert2k closed this as completed Jan 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bug in code
Projects
None yet
Development

No branches or pull requests

2 participants