providers/oauth2: remove post_logout_redirect_uris

This commit is contained in:
Jens Langhammer 2020-09-18 23:26:12 +02:00
parent 6ab8794754
commit e0c104ee5c
5 changed files with 16 additions and 12 deletions

View File

@ -22,7 +22,6 @@ class OAuth2ProviderSerializer(ModelSerializer):
"jwt_alg",
"rsa_key",
"redirect_uris",
"post_logout_redirect_uris",
"sub_mode",
"property_mappings",
]

View File

@ -41,7 +41,6 @@ class OAuth2ProviderForm(forms.ModelForm):
"jwt_alg",
"rsa_key",
"redirect_uris",
"post_logout_redirect_uris",
"sub_mode",
"property_mappings",
]

View File

@ -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",
),
]

View File

@ -157,12 +157,6 @@ class OAuth2Provider(Provider):
verbose_name=_("Redirect URIs"),
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(
default=True,

View File

@ -6651,10 +6651,6 @@ definitions:
description: Enter each URI on a new line.
type: string
minLength: 1
post_logout_redirect_uris:
title: Post Logout Redirect URIs
description: Enter each URI on a new line.
type: string
sub_mode:
title: Sub mode
description: Configure what data should be used as unique User Identifier.