Skip to content

Add ISSUER variable to central OPA deployment#200

Merged
tpoliaw merged 1 commit intomainfrom
issuer_env
Nov 14, 2024
Merged

Add ISSUER variable to central OPA deployment#200
tpoliaw merged 1 commit intomainfrom
issuer_env

Conversation

@tpoliaw
Copy link
Collaborator

@tpoliaw tpoliaw commented Nov 1, 2024

Only remembered we'd added this to the token validation after the other PR was merged. Not sure what the issuer value should be so I opted for the value used in the docs/examples.

@tpoliaw tpoliaw force-pushed the issuer_env branch 2 times, most recently from d50ac6d to eb9c966 Compare November 1, 2024 16:24
@garryod
Copy link
Contributor

garryod commented Nov 1, 2024

We should probably use the OIDC discovery endpoint to get these, see: https://openid.net/specs/openid-connect-discovery-1_0.html

@tpoliaw
Copy link
Collaborator Author

tpoliaw commented Nov 13, 2024

From the OPA docs here it looks like we should be setting ISSUER but not JWKS_ENDPOINT

@tpoliaw tpoliaw force-pushed the issuer_env branch 3 times, most recently from 017d249 to 329a0c2 Compare November 13, 2024 17:52
garryod
garryod previously approved these changes Nov 14, 2024
@tpoliaw
Copy link
Collaborator Author

tpoliaw commented Nov 14, 2024

Sorry, found a docs change I missed in the final read through

@garryod
Copy link
Contributor

garryod commented Nov 14, 2024

Sorry, found a docs change I missed in the final read through

No worries, much preferred to finding it six months from now

@tpoliaw tpoliaw merged commit dd0fe3f into main Nov 14, 2024
@tpoliaw tpoliaw deleted the issuer_env branch November 14, 2024 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants