forked from Github-Mirrors/canaille
fix: demo client audiences
This commit is contained in:
parent
12cb353a9c
commit
77072db5c8
1 changed files with 2 additions and 0 deletions
|
@ -114,6 +114,7 @@ def populate(app):
|
||||||
response_types=["code", "id_token"],
|
response_types=["code", "id_token"],
|
||||||
token_endpoint_auth_method="client_secret_basic",
|
token_endpoint_auth_method="client_secret_basic",
|
||||||
)
|
)
|
||||||
|
client1.audience = [client1]
|
||||||
client1.save()
|
client1.save()
|
||||||
|
|
||||||
client2 = models.Client(
|
client2 = models.Client(
|
||||||
|
@ -132,6 +133,7 @@ def populate(app):
|
||||||
token_endpoint_auth_method="client_secret_basic",
|
token_endpoint_auth_method="client_secret_basic",
|
||||||
preconsent=True,
|
preconsent=True,
|
||||||
)
|
)
|
||||||
|
client2.audience = [client2]
|
||||||
client2.save()
|
client2.save()
|
||||||
|
|
||||||
fake_users(50)
|
fake_users(50)
|
||||||
|
|
Loading…
Reference in a new issue