mirror of
https://github.com/j93es/oauth-backend.git
synced 2026-06-04 03:31:51 +09:00
fix: update proxy test to use certificate for SSL verification
This commit is contained in:
parent
b221c4a9e6
commit
9a14872964
1 changed files with 2 additions and 2 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -40,8 +40,8 @@ jobs:
|
|||
# Wait for application to start
|
||||
sleep 5
|
||||
|
||||
# Test proxy functionality (skip SSL verification for testing)
|
||||
curl --insecure -x https://localhost:11080 "https://github.com/login?client_id=Ov23lixietSCQOHxPvcr&return_to=%2Flogin%2Foauth%2Fauthorize%3Fclient_id%3DOv23lixietSCQOHxPvcr%26redirect_uri%3Dhttp%253A%252F%252Flocalhost%253A8787%26scope%3Dread%253Auser%2Buser%253Aemail%26skip_account_picker%3Dtrue" --silent
|
||||
# Test proxy functionality
|
||||
curl --cacert ~/.mitmproxy/mitmproxy-ca-cert.pem -x https://localhost:11080 "https://github.com/login?client_id=Ov23lixietSCQOHxPvcr&return_to=%2Flogin%2Foauth%2Fauthorize%3Fclient_id%3DOv23lixietSCQOHxPvcr%26redirect_uri%3Dhttp%253A%252F%252Flocalhost%253A8787%26scope%3Dread%253Auser%2Buser%253Aemail%26skip_account_picker%3Dtrue"
|
||||
|
||||
# Clean up
|
||||
kill $APP_PID
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue