我在为我所做的项目设置 Keycloak 时遇到问题。Keycloak 正在运行http://localhost:8180。Thorntail 服务器正在运行,http://localhost:8080/users为 Angular 前端提供数据http://localhost:4200/*。我想要做的是用户只能在http://localhost:4200/sign-in不登录的情况下查看。登录后他们可以访问例如http://localhost:4200/list-user。
我正在使用本指南来设置 Keycloak,但我不确定我的客户端设置应该是什么。这就是我的想法:
根网址:http://localhost:4200/sign-in
*有效的重定向 URI:http://localhost:4200/list-user
基本网址:http://localhost:4200/sign-in
管理员网址:http://localhost:8080
当我难以理解时,请有人解释这些设置的目的。