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

Update frontend.conf #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions oauth2-token-introspection-plus/frontend.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
js_include conf.d/oauth2.js;
js_import conf.d/oauth2.js;

map $http_authorization $access_token {
"~*^bearer (.*)$" $1;
Expand Down Expand Up @@ -36,7 +36,7 @@ server {
# This location implements an auth_request server that uses the JavaScript
# module to perform the token introspection request.
internal;
js_content introspectAccessToken;
js_content oauth2.introspectAccessToken;
}

location = /_oauth2_send_introspection_request {
Expand All @@ -54,4 +54,4 @@ server {
}
}

# vim: syntax=nginx
# vim: syntax=nginx