Skip to content
This repository has been archived by the owner on Feb 14, 2018. It is now read-only.

Commit

Permalink
rfc6750 compability
Browse files Browse the repository at this point in the history
  • Loading branch information
Mazon committed Nov 26, 2015
1 parent 5b279cc commit e510e02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nginx-jwt.lua
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ function M.auth(claim_specs)
ngx.header["WWW-Authenticate"] = 'Bearer error="insufficient_scope",' .. blocking_claim .. '=' .. blocking_spec
ngx.exit(ngx.HTTP_FORBIDDEN)
end
ngx.header["WWW-Authenticate"] = 'Bearer'
ngx.exit(ngx.HTTP_UNAUTHORIZED)
end
end
Expand Down

0 comments on commit e510e02

Please sign in to comment.