principal and audience are different (I thought I fixed this??)
parent
c17bc05b0e
commit
e8095bab26
|
@ -170,7 +170,7 @@ public class JwtClaims extends ClaimSet {
|
|||
* @param principal the principal to set
|
||||
*/
|
||||
public void setPrincipal(String principal) {
|
||||
setClaim(AUDIENCE, principal);
|
||||
setClaim(PRINCIPAL, principal);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue