[keycloak-user] Realm login screen
Thomas Darimont
thomas.darimont at googlemail.com
Tue Apr 25 10:26:10 EDT 2017
Hello Marc,
the `org.keycloak.forms.login.freemarker.model.UrlBean` available via
${url...} in the
`FreeMarkerLoginFormsProvider#createResponse(org.keycloak.forms.login.LoginFormsPages)`
seems to provide a getLoginUrl() that you could try.
Cheers,
Thomas
2017-04-25 15:07 GMT+02:00 Marc Tempelmeier <marc.tempelmeier at flane.de>:
> Hi,
>
> Is there a standard url for a realm login screen? We want to provide back
> links to it from various error templates.
>
> At the moment we can use:
>
> /auth/realms/fastlane/protocol/openid-connect/auth?
> client_id=account&redirect_uri=http%3A%2F%2F127.0.0.1%
> 3A8080%2Fauth%2Frealms%2Ffastlane%2Faccount&response_
> type=code&scope=openid
>
> That will obviously fail, because our production server is not on
> 127.0.0.1.
>
> Can we get the IP address in freemarker template or is there a general
> URL for it.
>
> Best regards
>
> Marc Tempelmeier
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
More information about the keycloak-user
mailing list