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

"acr_values" contains "null" in introspection endpoint's response #803

Closed
aliaksander-samuseu opened this Issue May 11, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@aliaksander-samuseu
Contributor

aliaksander-samuseu commented May 11, 2018

Environment:

CentOS 6.9, gluu-server-3.1.3-final

Preconditions:

  1. A fully configured OP(Gluu)+RP setup using authz code OIDC flow
  2. "uma_protection" scope is amongst scopes requested by RP
  3. Specific auth method is requested by RP with acr_values= parameter

Steps to reproduce:

  1. After a successful OIDC flow harvest issued access token
  2. Use access token at introspection endpoint. Below is an example of such request:
POST /oxauth/restv1/introspection HTTP/1.1
Authorization: Bearer 77d9f5ce-3c8c-4260-b460-3014f60fa564
Content-Type: application/x-www-form-urlencoded; charset=utf-8
Host: mytrue.host.loc
Connection: close
User-Agent: Paw/3.1.5 (Macintosh; OS X/10.12.6) GCDHTTPRequest
Content-Length: 71

token=77d9f5ce-3c8c-4260-b460-3014f60fa564&token_type_hint=access_token

Results:
In the endpoint's response "acr_values" contains "null" instead of a name of a method used for authentication:

{"active":true,"scopes":["openid","user_name","profile","uma_protection","email"],"client_id":"@!84B1.7441.57C3.98B0!0001!76A2.0919!0008!DE0E.A0DC.FD5A.8B9D","username":"Default Admin User","token_type":"bearer","exp":1526068893,"iat":1526068593,"sub":"2rFr27ll8S5GOjYU6-4duf_efTfaVWMEoYvzHhhooow","aud":"@!84B1.7441.57C3.98B0!0001!76A2.0919!0008!DE0E.A0DC.FD5A.8B9D","iss":"https://mytrue.host.loc","jti":null,"acr_values":null}

@aliaksander-samuseu aliaksander-samuseu added this to the 3.1.4 milestone May 11, 2018

yuriyz added a commit that referenced this issue May 12, 2018

@yuriyz

This comment has been minimized.

Contributor

yuriyz commented May 12, 2018

Fixed for 3.1.4 and in master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment