Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow to use local file through file:// protocol for metadata or jwks #51

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

pladen
Copy link
Contributor

@pladen pladen commented Jun 24, 2024

This PR to allow usage of file:// protocol in various options so as to put key files or metadata on local storage rather than depending upon network.

It is useful in use-case where HTTP server is denied to connect to external services as it is the default on some OS with SELinux enabled (ie RHEL).

For example :
OAuth2TokenVerify $source_token jwks_uri file:///etc/nginx/my_jwks.json ;

@zandbelt
Copy link
Member

for completeness: there's overlapping functionality through jwks (that can be used instead of jwks_uri)

@zandbelt zandbelt merged commit ac5a4e6 into OpenIDC:master Jun 24, 2024
9 checks passed
zandbelt added a commit that referenced this pull request Jun 24, 2024
Signed-off-by: Hans Zandbelt <hans.zandbelt@openidc.com>
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