Thanks, that did the trick!
--
Dr. Manuel Holtgrewe
Bioinformatician
Core Unit Bioinformatics – CUBI
Berlin Institute of Health / Max Delbrück Center for Molecular Medicine in the Helmholtz
Association / Charité – Universitätsmedizin Berlin
Visiting Address: Invalidenstr. 80, 3rd Floor, Room 03 028, 10117 Berlin
Postal Address: Chariteplatz 1, 10117 Berlin
E-Mail: manuel.holtgrewe(a)bihealth.de
Phone: +49 30 450 543 607
Fax: +49 30 450 7 543 901
Web:
cubi.bihealth.org www.bihealth.org www.mdc-berlin.de www.charite.de
________________________________________
From: keycloak-user-bounces(a)lists.jboss.org [keycloak-user-bounces(a)lists.jboss.org] on
behalf of Iván Perdomo [ivan(a)akvo.org]
Sent: Tuesday, July 18, 2017 08:58
To: keycloak-user(a)lists.jboss.org
Subject: Re: [keycloak-user] "Failed to introspect token" problem
Hi,
On 07/17/2017 02:42 PM, Holtgrewe, Manuel wrote:
OIDCOAuthIntrospectionEndpointParams
token_type_hint=requesting_party_token
If you're doing a token introspection of an access token the
token_type_hint should be `access_token` as per RFC.
See the documentation:
https://github.com/keycloak/keycloak-documentation/blob/3.2.0.Final/secur...
From the RFC
The following is a non-normative example request:
POST /introspect HTTP/1.1
Host:
server.example.com
Accept: application/json
Content-Type: application/x-www-form-urlencoded
Authorization: Basic czZCaGRSa3F0MzpnWDFmQmF0M2JW
token=mF_9.B5f-4.1JqM&token_type_hint=access_token
I have a some sample code in a test case:
https://github.com/iperdomo/keycloak-oauth2-instrospection/blob/master/te...
I hope this helps.
--
Iván
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user