Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Keycloak: getting back from user profile page

In my application I have a link that redirects to the user's account page on the Keycloak server. In this page the user can update his personal information.

The problem is that after entering his account page the user has no way to get back to the application.

There's a way to let the user get back without editing the page theme?

like image 218
Atropo Avatar asked Nov 15 '17 11:11

Atropo


Video Answer


1 Answers

I found the answer by looking at the freemaker template.

In my case I had to:

  1. Set the application URL in the Base URL option in the Keycloak client settings.

  2. Append the parameter ?referrer=<Client ID> on the URL that links to the user profile page.

    ie http://127.0.0.1:8080/auth/realms/<realm>/account?referrer=<Client ID>

With these two settings the link to go back to the application will be visible.

like image 173
Atropo Avatar answered Oct 10 '22 20:10

Atropo