allauth/idp/oidc/migrations/0002_client_default_scopes.py
raw| 1 | from django.db import migrations, models |
| 2 | |
| 3 | |
| 4 | class Migration(migrations.Migration): |
| 5 | |
| 6 | dependencies = [ |
| 7 | ("allauth_idp_oidc", "0001_initial"), |
| 8 | ] |
| 9 | |
| 10 | operations = [ |
| 11 | migrations.AddField( |
| 12 | model_name="client", |
| 13 | name="default_scopes", |
| 14 | field=models.TextField( |
| 15 | blank=True, |
| 16 | default="", |
| 17 | help_text="In case the client does not specify any scope, these default scopes are used. Provide one value per line, e.g.: openid(ENTER)profile(ENTER)email(ENTER)", |
| 18 | ), |
| 19 | ), |
| 20 | ] |