Skip to content

Commit

Permalink
chore: update snapshots and configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Benehiko committed Sep 14, 2023
1 parent 938cda1 commit 83e3ca3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,7 @@
"override_return_to": false
},
"selfservice": {
"allowed_return_urls": [

],
"allowed_return_urls": [],
"default_browser_return_url": "/ui/welcome",
"flows": {
"error": {
Expand Down
12 changes: 10 additions & 2 deletions cmd/cloudx/project/update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,14 @@ 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",
"services.identity.config.selfservice.allowed_return_urls",

// THERE IS A LIMITATION IN ASSERTX THAT DOES NOT ALLOW A DEPTH MORE THAN 5
// THAT IS WHY WE IGNORE THIS KEY HERE.
// TODO: FIX THIS
"services.identity.config.selfservice.flows.login.after.webauthn.hooks",
"services.identity.config.selfservice.flows.registration.after.webauthn.hooks",

// for kratos cmd
"serve",
"cookies",
Expand All @@ -98,6 +105,7 @@ func TestUpdateProject(t *testing.T) {
"session.cookie",
"courier.smtp.from_name",
"selfservice.allowed_return_urls.0",

// for keto cmd
// for hydra cmd
"serve.cookies.names",
Expand All @@ -119,7 +127,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",
"services.identity.config.selfservice.allowed_return_urls",
// for kratos cmd
"serve.public.base_url",
"serve.admin.base_url",
Expand Down

0 comments on commit 83e3ca3

Please sign in to comment.