Skip to content

Commit 34e00b9

Browse files
committed
Replace GitHub authentication url
1 parent 4dbb0c9 commit 34e00b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unpack-api/unpack_api/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def github_sync_jwt(
201201
status_code=403,
202202
detail='Invalid token: BadSignatureError',
203203
)
204-
if claims['iss'] != 'https://github.com':
204+
if claims['iss'] != 'https://token.actions.githubusercontent.com':
205205
raise HTTPException(
206206
status_code=403,
207207
detail=f"Invalid issuer {claims['iss']}",

0 commit comments

Comments
 (0)