Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
Benehiko committed Jul 10, 2023
1 parent 5ec86e0 commit cf8f20c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cmd/cloudx/project/fixtures/update/json/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@
}
]
},
"oauth2_provider": {},
"oauth2_provider": {
"override_return_to": false
},
"selfservice": {
"allowed_return_urls": [],
"default_browser_return_url": "/ui/welcome",
Expand Down Expand Up @@ -121,6 +123,7 @@
},
"enabled": true,
"lifespan": "30m0s",
"notify_unkown_recipients": false,
"ui_url": "/ui/recovery",
"use": "code"
},
Expand Down Expand Up @@ -179,6 +182,7 @@
},
"enabled": true,
"lifespan": "30m0s",
"notify_unknown_recipients": false,
"ui_url": "/ui/custom-verification",
"use": "code"
}
Expand Down Expand Up @@ -417,6 +421,7 @@
"consent": "/ui/consent",
"error": "/ui/error",
"login": "/ui/login",
"logout": "/ui/logout",
"post_logout_redirect": "/oauth2/fallbacks/logout"
},
"webfinger": {
Expand Down
2 changes: 2 additions & 0 deletions cmd/cloudx/project/update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ func TestUpdateProject(t *testing.T) {
"services.oauth2.config.serve.cookies.domain",
"services.oauth2.config.urls.self",
"services.oauth2.config.oauth2.session",
"services.identity.config.selfservice.allowed_return_urls.0",
// for kratos cmd
"serve",
"cookies",
Expand Down Expand Up @@ -115,6 +116,7 @@ func TestUpdateProject(t *testing.T) {
"services.oauth2.config.serve.cookies.names",
"services.oauth2.config.serve.cookies.domain",
"services.oauth2.config.urls.self",
"services.identity.config.selfservice.allowed_return_urls.0",
// for kratos cmd
"serve.public.base_url",
"serve.admin.base_url",
Expand Down

0 comments on commit cf8f20c

Please sign in to comment.