Skip to content

Conversation

@mkleczek
Copy link
Contributor

@mkleczek mkleczek commented Oct 21, 2025

This change is an initial step to change JWT aud configuration to regular expression (#4397). Exporting function
audMatchesCfg :: AppConfig -> Text -> Bool
from Config module allows changing the way how JWT aud is configured to be isolated and not affect code in Auth.JWT

This change is an initial step to change JWT aud configuration to regular expression.
Exporting function
audMatchesCfg :: AppConfig -> Text -> Bool
from Config module allows changing the way how JWT aud is configured to be isolated and not affect code in Auth.JWT
@mkleczek
Copy link
Contributor Author

@laurenceisla I've seen you started reviewing #4397. I marked it as draft and would like to split it into smaller and easier to review PRs, that would also be less controversial.

@laurenceisla
Copy link
Member

I marked it as draft and would like to split it into smaller and easier to review PRs, that would also be less controversial.

Perfect, thanks for the heads-up.

@laurenceisla laurenceisla merged commit 6616110 into PostgREST:main Oct 22, 2025
32 of 33 checks passed
@mkleczek mkleczek deleted the jwt-aud-config-refactoring branch October 22, 2025 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants