openid: configuration: added jwt claims
This commit is contained in:
parent
72c67a7a82
commit
49b3a3d1fe
1 changed files with 3 additions and 0 deletions
|
|
@ -53,6 +53,9 @@ pub fn configuration(base_url: &str) -> Result<Value, Error> {
|
|||
CoreClaimName::new("iat".to_string()),
|
||||
CoreClaimName::new("iss".to_string()),
|
||||
CoreClaimName::new("name".to_string()),
|
||||
CoreClaimName::new("username".to_string()),
|
||||
CoreClaimName::new("roles".to_string()),
|
||||
CoreClaimName::new("isAdmin".to_string()),
|
||||
]));
|
||||
|
||||
Ok(serde_json::to_value(provider_metadata)?)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue