providers/oauth2: remove post_logout_redirect_uris
This commit is contained in:
parent
6ab8794754
commit
e0c104ee5c
|
@ -22,7 +22,6 @@ class OAuth2ProviderSerializer(ModelSerializer):
|
||||||
"jwt_alg",
|
"jwt_alg",
|
||||||
"rsa_key",
|
"rsa_key",
|
||||||
"redirect_uris",
|
"redirect_uris",
|
||||||
"post_logout_redirect_uris",
|
|
||||||
"sub_mode",
|
"sub_mode",
|
||||||
"property_mappings",
|
"property_mappings",
|
||||||
]
|
]
|
||||||
|
|
|
@ -41,7 +41,6 @@ class OAuth2ProviderForm(forms.ModelForm):
|
||||||
"jwt_alg",
|
"jwt_alg",
|
||||||
"rsa_key",
|
"rsa_key",
|
||||||
"redirect_uris",
|
"redirect_uris",
|
||||||
"post_logout_redirect_uris",
|
|
||||||
"sub_mode",
|
"sub_mode",
|
||||||
"property_mappings",
|
"property_mappings",
|
||||||
]
|
]
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
# Generated by Django 3.1.1 on 2020-09-18 21:16
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
("passbook_providers_oauth2", "0003_auto_20200916_2129"),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.RemoveField(
|
||||||
|
model_name="oauth2provider", name="post_logout_redirect_uris",
|
||||||
|
),
|
||||||
|
]
|
|
@ -157,12 +157,6 @@ class OAuth2Provider(Provider):
|
||||||
verbose_name=_("Redirect URIs"),
|
verbose_name=_("Redirect URIs"),
|
||||||
help_text=_("Enter each URI on a new line."),
|
help_text=_("Enter each URI on a new line."),
|
||||||
)
|
)
|
||||||
post_logout_redirect_uris = models.TextField(
|
|
||||||
blank=True,
|
|
||||||
default="",
|
|
||||||
verbose_name=_("Post Logout Redirect URIs"),
|
|
||||||
help_text=_("Enter each URI on a new line."),
|
|
||||||
)
|
|
||||||
|
|
||||||
include_claims_in_id_token = models.BooleanField(
|
include_claims_in_id_token = models.BooleanField(
|
||||||
default=True,
|
default=True,
|
||||||
|
|
|
@ -6651,10 +6651,6 @@ definitions:
|
||||||
description: Enter each URI on a new line.
|
description: Enter each URI on a new line.
|
||||||
type: string
|
type: string
|
||||||
minLength: 1
|
minLength: 1
|
||||||
post_logout_redirect_uris:
|
|
||||||
title: Post Logout Redirect URIs
|
|
||||||
description: Enter each URI on a new line.
|
|
||||||
type: string
|
|
||||||
sub_mode:
|
sub_mode:
|
||||||
title: Sub mode
|
title: Sub mode
|
||||||
description: Configure what data should be used as unique User Identifier.
|
description: Configure what data should be used as unique User Identifier.
|
||||||
|
|
Reference in New Issue