Skip to content

Why is FindRolesWithinJWTClaims looking for a "Authorization" header in responses? #2

Why is FindRolesWithinJWTClaims looking for a "Authorization" header in responses?

Why is FindRolesWithinJWTClaims looking for a "Authorization" header in responses? #2

Workflow file for this run

name: Issues Webhook
on:
issues:
types: [opened, reopened]
jobs:
webhook:
runs-on: ubuntu-latest
steps:
- name: Push to Webhook
run: |
echo $AUTHOR $TITLE $LINK
curl "$WEBHOOK" -X POST -H "Content-Type: application/json" -H "Authorization: $AUTH_TOKEN" -d "$AUTHOR"$'\n'"$TITLE"$'\n'"$LINK"
env:
AUTHOR: ${{ github.event.issue.user.login }}
TITLE: ${{ github.event.issue.title }}
LINK: ${{ github.event.issue.html_url }}
WEBHOOK: ${{ secrets.WEBHOOK_URL }}
AUTH_TOKEN: ${{ secrets.AUTH_TOKEN }}