File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
backend/src/main/java/eu/zuinnote/example/springwebdemo/configuration Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -79,12 +79,12 @@ public GrantedAuthoritiesMapper userAuthoritiesMapper() {
79
79
this .parseClaim ("IdToken" , idTokenClaim , claim ));
80
80
}
81
81
// map all claims from the EndUser Endpoint
82
- for (String endUserEndpointClaim :
82
+ for (String userEndpointClaim :
83
83
this .config .getOidc ().getMapper ().getUserClaims ()) {
84
- Object claim = userInfo .getClaim (endUserEndpointClaim );
84
+ Object claim = userInfo .getClaim (userEndpointClaim );
85
85
mappedAuthorities .addAll (
86
86
this .parseClaim (
87
- "EndUser Endpoint" , endUserEndpointClaim , claim ));
87
+ "EndUser Endpoint" , userEndpointClaim , claim ));
88
88
}
89
89
90
90
} else if (OAuth2UserAuthority .class .isInstance (authority )) {
@@ -99,8 +99,7 @@ public GrantedAuthoritiesMapper userAuthoritiesMapper() {
99
99
this .config .getOidc ().getMapper ().getUserAttributes ()) {
100
100
Object claim = userAttributes .get (userAttribute );
101
101
mappedAuthorities .addAll (
102
- this .parseClaim (
103
- "EndUser Attributes" , userAttribute , claim ));
102
+ this .parseClaim ("User Attributes" , userAttribute , claim ));
104
103
}
105
104
}
106
105
});
You can’t perform that action at this time.
0 commit comments