The URL recently changed, so please upgrade to 1.1.0.Final for these instructions.
Login:
/auth/realms/example/protocol/openid-connect/login?client_id=<CLIENT
ID>&redirect_uri=<REDIRECT
URI>&state=<STATE>&response_type=code
Registration:
/auth/realms/example/protocol/openid-connect/registrations?client_id=<CLIENT
ID>&redirect_uri=<REDIRECT
URI>&state=<STATE>&response_type=code
* state is optional in 1.1.0, but it is highly recommended and that your application
verifies it, especially if you're using cookies
----- Original Message -----
From: "Christian Beikov"
<christian.beikov(a)gmail.com>
To: keycloak-dev(a)lists.jboss.org
Sent: Monday, 26 January, 2015 8:46:06 AM
Subject: Re: [keycloak-dev] Direct links to pages
Can anyone please confirm that there is or is not a possibility to do this?
Mit freundlichen Grüßen,
Christian Beikov
Am 19.01.2015 um 01:14 schrieb Christian Beikov:
Hello!
Quick question. Is there a way to directly link to the registration or login
page from a different page?
I tried the following but only get "Bad request" when submitting the form.
Registration:
/auth/realms/{realm-name}/tokens/registrations?redirect_uri=http%3A%2F%2Flocalhost%3A8080%2Fprotected&client_id=protected
Login:
/auth/realms/{realm-name}/tokens/login?redirect_uri=http%3A%2F%2Flocalhost%3A8080%2Fprotected&client_id=protected
--
Mit freundlichen Grüßen,
Christian Beikov
_______________________________________________
keycloak-dev mailing list
keycloak-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev