Skip to content

Commit

Permalink
Set web as trusted client for e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kulmann committed Feb 17, 2022
1 parent df343e0 commit 5a43820
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -2019,7 +2019,7 @@ def setUpOauth2(forIntegrationApp, disableFileLocking):
"make vendor",
"cd %s || exit" % dir["server"],
"php occ a:e oauth2",
"php occ oauth2:add-client Web Cxfj9F9ZZWQbQZps1E1M0BszMz6OOFq3lxjSuc8Uh4HLEYb9KIfyRMmgY5ibXXrU 930C6aA0U1VhM03IfNiheR2EwSzRi4hRSpcNqIhhbpeSGU6h38xssVfNcGP0sSwQ %s" % oidcURL,
"php occ oauth2:add-client Web Cxfj9F9ZZWQbQZps1E1M0BszMz6OOFq3lxjSuc8Uh4HLEYb9KIfyRMmgY5ibXXrU 930C6aA0U1VhM03IfNiheR2EwSzRi4hRSpcNqIhhbpeSGU6h38xssVfNcGP0sSwQ %s false true" % oidcURL,
]

if (disableFileLocking):
Expand Down
4 changes: 3 additions & 1 deletion dev/docker/oc10.entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ then
web \
M8W5mo3wQV3VHWYsaYpWhkr8dwa949i4GljCkedHhl7GWqmHMkxSeJgK2PcS0jt5 \
sqvPYXK94tMsEEVOYORxg8Ufesi2kC4WpJJSYb0Kj1DSAYl6u2XvJZjc3VcitjDv \
http://host.docker.internal:8080/index.php/apps/web/oidc-callback.html
http://host.docker.internal:8080/index.php/apps/web/oidc-callback.html \
false \
true
occ oauth2:add-client \
web-sidecar \
UmCVsEIxdWmssxa6uVRRPC3txYBVN4qqxooJbsPhuuoPmHk9Pt9Oy68N4ZaKXUYy \
Expand Down

0 comments on commit 5a43820

Please sign in to comment.