providers/oauth2: fix include_claims_in_id_token not being shown in form/API

This commit is contained in:
Jens Langhammer 2020-12-27 13:41:20 +01:00
parent 9848c5f3eb
commit 5b18e28753
3 changed files with 7 additions and 0 deletions

View File

@ -21,6 +21,7 @@ class OAuth2ProviderSerializer(ModelSerializer, MetaNameSerializer):
"client_secret",
"token_validity",
"response_type",
"include_claims_in_id_token",
"jwt_alg",
"rsa_key",
"redirect_uris",

View File

@ -55,6 +55,7 @@ class OAuth2ProviderForm(forms.ModelForm):
"client_secret",
"response_type",
"token_validity",
"include_claims_in_id_token",
"jwt_alg",
"rsa_key",
"redirect_uris",

View File

@ -7847,6 +7847,11 @@ definitions:
- code token
- code id_token
- code id_token token
include_claims_in_id_token:
title: Include claims in id_token
description: Include User claims from scopes in the id_token, for applications
that don't access the userinfo endpoint.
type: boolean
jwt_alg:
title: JWT Algorithm
description: Algorithm used to sign the JWT Token