Skip to content

Commit

Permalink
missed commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mrFlick72 committed Jun 23, 2024
1 parent 2a49ef8 commit 2631862
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion local-environment/local-initializer/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def store_client_applications():
"with_pkce": False,
"scopes": set([
"openid", "profile", "email",
"admin:signup", "admin:welcome", "admin:mail-verify", "admin:reset-password", "admin:change-password",
"admin:signup", "admin:welcome", "admin:email-verify", "admin:reset-password", "admin:change-password",
"admin:key-reader", "admin:key-editor",
"admin:mail-template-reader", "admin:mail-template-writer",
"mfa:always"
Expand Down
4 changes: 2 additions & 2 deletions local-environment/request.http
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GET {{host}}/.well-known/oauth-authorization-server
POST {{host}}/oauth2/token
Content-Type: application/x-www-form-urlencoded

client_id=admin&client_secret=secret&grant_type=client_credentials&scope=admin:signup admin:key-editor admin:key-reader admin:mail-verify
client_id=admin&client_secret=secret&grant_type=client_credentials&scope=admin:signup admin:key-editor admin:key-reader admin:email-verify

> {% client.global.set("auth_token", response.body.access_token); %}

Expand Down Expand Up @@ -43,5 +43,5 @@ Content-Type: application/json
Authorization: Bearer {{auth_token}}

{
"mail": "admin3@email.com"
"mail": "admin2@email.com"
}

0 comments on commit 2631862

Please sign in to comment.