ENT-361: Allow hiding of IDP selection page during SSO
Closes ENT-361.
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('third_party_auth', '0009_auto_20170415_1144'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='ltiproviderconfig',
|
||||
name='skip_hinted_login_dialog',
|
||||
field=models.BooleanField(default=False, help_text='If this option is enabled, users that visit a "TPA hinted" URL for this provider (e.g. a URL ending with `?tpa_hint=[provider_name]`) will be forwarded directly to the login URL of the provider instead of being first prompted with a login dialog.'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='oauth2providerconfig',
|
||||
name='skip_hinted_login_dialog',
|
||||
field=models.BooleanField(default=False, help_text='If this option is enabled, users that visit a "TPA hinted" URL for this provider (e.g. a URL ending with `?tpa_hint=[provider_name]`) will be forwarded directly to the login URL of the provider instead of being first prompted with a login dialog.'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='samlproviderconfig',
|
||||
name='skip_hinted_login_dialog',
|
||||
field=models.BooleanField(default=False, help_text='If this option is enabled, users that visit a "TPA hinted" URL for this provider (e.g. a URL ending with `?tpa_hint=[provider_name]`) will be forwarded directly to the login URL of the provider instead of being first prompted with a login dialog.'),
|
||||
),
|
||||
]
|
||||
@@ -117,6 +117,14 @@ class ProviderConfig(ConfigurationModel):
|
||||
'The Site that this provider configuration belongs to.'
|
||||
),
|
||||
)
|
||||
skip_hinted_login_dialog = models.BooleanField(
|
||||
default=False,
|
||||
help_text=_(
|
||||
"If this option is enabled, users that visit a \"TPA hinted\" URL for this provider "
|
||||
"(e.g. a URL ending with `?tpa_hint=[provider_name]`) will be forwarded directly to "
|
||||
"the login URL of the provider instead of being first prompted with a login dialog."
|
||||
),
|
||||
)
|
||||
skip_registration_form = models.BooleanField(
|
||||
default=False,
|
||||
help_text=_(
|
||||
|
||||
Reference in New Issue
Block a user