https://github.com/github/actions-oidc-debugger
An Action for printing OIDC claims in GitHub Actions.
https://github.com/github/actions-oidc-debugger
Last synced: 11 months ago
JSON representation
An Action for printing OIDC claims in GitHub Actions.
- Host: GitHub
- URL: https://github.com/github/actions-oidc-debugger
- Owner: github
- License: mit
- Created: 2022-05-02T16:50:39.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-13T17:41:48.000Z (12 months ago)
- Last Synced: 2025-04-02T09:04:53.373Z (11 months ago)
- Language: Go
- Size: 52.7 KB
- Stars: 86
- Watchers: 191
- Forks: 29
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# actions-oidc-debugger
This action requests a JWT and prints the claims included within the JWT received from GitHub Actions.
## How to use this Action
Here's an example of how to use that action:
```yaml
on: [pull_request]
jobs:
oidc_debug_test:
permissions:
contents: read
id-token: write
runs-on: ubuntu-latest
name: A test of the oidc debugger
steps:
- name: Debug OIDC Claims
uses: github/actions-oidc-debugger@main
with:
audience: '${{ github.server_url }}/${{ github.repository_owner }}'
```