[keycloak-user] obtaining token when using identify broker

Tony Harris Tony.Harris at oneadvanced.com
Wed May 8 05:44:31 EDT 2019


One way would be change your client to confidential and login with the client id and secret.

-----Original Message-----
From: keycloak-user-bounces at lists.jboss.org [mailto:keycloak-user-bounces at lists.jboss.org] On Behalf Of Tim Dudgeon
Sent: 08 May 2019 10:09
To: keycloak-user <keycloak-user at lists.jboss.org>
Subject: [keycloak-user] obtaining token when using identify broker

Apologies again if this was already answered, but my subscription to the ML keeps getting cut and there is no archive to check!

How can I obtain a token in the following scenario:

1. My keycloak realm is set up to manage users with identity brokering (e.g. in a browser they would login through GitHub, Google etc.) 2. I have a public client in that realm that has REST API that requires access to be authenticated 3. I want to access that API using curl or other CLI tool so need to provide an access token.

How can I get a token?

Thanks
Tim

_______________________________________________
keycloak-user mailing list
keycloak-user at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user

________________________________

Please consider the environment: Think before you print!


This message has been scanned for malware by Websense. www.websense.com



More information about the keycloak-user mailing list