5

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?

4

1 回答 1

20

我通过查看 freemaker 模板找到了答案。

就我而言,我必须:

  1. 在 Keycloak 客户端设置的Base URL选项中设置应用程序 URL 。

  2. ?referrer=<Client ID>在链接到用户个人资料页面的 URL 上附加参数。

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

通过这两个设置,返回应用程序的链接将可见。

于 2017-11-15T16:49:39.930 回答