[keycloak-user] Integration Keycloak with phyton application
Stian Thorgersen
stian at redhat.com
Wed Oct 1 02:41:37 EDT 2014
----- Original Message -----
> From: "Iván Perdomo" <ivan at akvo.org>
> To: "Stian Thorgersen" <stian at redhat.com>
> Cc: "Pablo N" <panulab at gmail.com>, keycloak-user at lists.jboss.org
> Sent: Tuesday, 30 September, 2014 4:04:48 PM
> Subject: Re: [keycloak-user] Integration Keycloak with phyton application
>
> Hi,
>
> On Mon, 29 Sep 2014 13:03:13 -0400 (EDT)
> Stian Thorgersen <stian at redhat.com> wrote:
>
> > * Login: <KEYCLOAK SERVER>/auth/tokens/realms/<REALM
> > NAME>/tokens/login
> > * Access token: <KEYCLOAK SERVER>/auth/tokens/realms/<REALM
> > NAME>/tokens/access/codes
> > * Refresh token: <KEYCLOAK SERVER>/auth/tokens/realms/<REALM
> > NAME>/tokens/refresh
>
> Not sure if I'm correct, but there is an extra /tokens/ in those URLs ?
>
> e.g. When you visit Admin Console
>
> <KEYCLOAK-SERVER>/auth/admin/
>
> You get redirected to the login page at:
>
> <KEYCLOAK-SERVER>/auth/realms/master/tokens/login?client_id=security-admin-console&redirect_uri=<KEYCLOACK
> SERVER>SERVER>%2Fauth%2Fadmin%2Fmaster%2Fconsole%2F&state=some-uuid&response_type=code
>
> So the pattern is:
>
> <KEYCLOAK-SERVER>/auth/realms/<REALM-NAME>/tokens/login
> <KEYCLOAK-SERVER>/auth/realms/<REALM-NAME>/tokens/access/codes
> <KEYCLOAK-SERVER>/auth/realms/<REALM-NAME>/tokens/refresh
Yes, those are the correct URLs. The ones I listed did indeed have an extra /tokens/ it shouldn't have had ;)
>
> Is this a correct assumption?
>
> Thanks,
>
> --
> Iván
>
More information about the keycloak-user
mailing list