[keycloak-user] Multiple audience from auth endpoint

triton oidc triton.oidc at gmail.com
Thu May 3 11:53:22 EDT 2018


Hi,

I saw a feature for KC to handle multiple audiences.

https://issues.jboss.org/browse/KEYCLOAK-5791

I'd like to test this feature in my POC.

I saw that i can use ScriptBasedOIDCProtocolMapper

but didn't found any clear way to do it.

Currently when i ask for a code
the first query looks like :

https://imyserver:9443/auth/realms/GreenAirlines/protocol/openid-connect/auth?client_id=greenairlines-secure&redirect_uri=https://mywebapp/callback&response_type=code&scope=openid
email profile

By default the audience equals the clientID
Is there a parameter that i can add in the query to ask for an additional
audience ?

If the documentation was somewhere and i didn't found it, i'm really sorry

Thanks for any tips

Amaury


More information about the keycloak-user mailing list