Repository navigation
springboot uma get protected resource failed #8512
Unanswered
codehamal365
asked this question in
Q&A
Replies: 1 comment
|
public abstract class AbstractPolicyEnforcer { |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
8000Uh oh!
There was an error while loading. Please reload this page.
1**、pom dependency: version 14.0.0**
keycloak-spring-boot-starter
keycloak-authz-client
keycloak-admin-client
2、scenario
use uma way to get protected resource. the first time use normal token to get rpt, it will return 401 and WWW-Authenticate header with ticket. then i use ticket to generate rpt and use this rpt to call again but 500 status code returned and backend error is Error creating permission ticket.
i have searched to get resolution but get no ideas.
i also tried below link but failed. can some give some suggestions.
https://stackoverflow.com/questions/64172386/keycloak-with-spring-boot-keycloaksecuritycontext-always-null
All reactions