File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1- A_AUDIENCE = " audience-in-oidc-request"
1+ ALLOWED_AUDIENCE = " audience-in-oidc-request"
22GITHUB_APP_NAME = " GitHub App Name"
33GITHUB_APP_CLIENT_ID = " your-app-client-id"
44GITHUB_APP_PRIVATE_KEY = " -----BEGIN RSA PRIVATE KEY-----
Original file line number Diff line number Diff line change 4545 - name : Integration test
4646 run : |
4747 # Start service in background
48- uv run fastapi dev app/main.py --port 8000 &
48+ uv run fastapi run --port 8000 &
4949 sleep 5
5050
5151 # Get OIDC token and test the endpoint
5656 -d "{\"oidc_token\": \"$TOKEN\"}" \
5757 http://localhost:8000/github/github-app-token-exchange
5858 env :
59- GITHUB_APP_ID : ${{ secrets.GITHUB_APP_ID }}
60- GITHUB_APP_PRIVATE_KEY : ${{ secrets.GITHUB_APP_PRIVATE_KEY }}
61- GITHUB_APP_CLIENT_ID : ${{ secrets.GITHUB_APP_CLIENT_ID }}
59+ GITHUB_APP_NAME : " GHA OIDC Token Exchange "
60+ GITHUB_APP_PRIVATE_KEY : ${{ secrets.APP_PRIVATE_KEY }}
61+ GITHUB_APP_CLIENT_ID : " Iv23ligOPEIJDirDT4V5 "
6262 ALLOWED_AUDIENCE : " test"
63- ALLOWED_ISSUER : " https://token.actions.githubusercontent.com"
You can’t perform that action at this time.
0 commit comments