Closed ch4mpy closed 1 year ago
Is your feature request related to a problem? Please describe. Currently, I have to go down otherClaims to define claims with a JSON string (with @JsonObjectClaim), even if I want to define standard claims.
otherClaims
@JsonObjectClaim
@OpenId( authorities = { "NICE", "AUTHOR" }, claims = @OpenIdClaims( usernameClaim = "$['https://c4-soft.com/user']['name']", otherClaims = @Claims( jsonObjectClaims = @JsonObjectClaim(name = "https://c4-soft.com/user", value = "{\"name\": \"Ch4mp\"}"))))
Describe the solution you'd like
@OpenId( authorities = { "NICE", "AUTHOR" }, claims = @OpenIdClaims( usernameClaim = "$['https://c4-soft.com/user']['name']", json = @JsonObjectClaim(name = "https://c4-soft.com/user", value = "{\"name\": \"Ch4mp\"}"))))
Is your feature request related to a problem? Please describe. Currently, I have to go down
otherClaims
to define claims with a JSON string (with@JsonObjectClaim
), even if I want to define standard claims.Describe the solution you'd like