-
Notifications
You must be signed in to change notification settings - Fork 6k
Resource Server handles missing/invalid Bearer Token #5125
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
Closed
jgrandja opened this issue
Mar 16, 2018
· 1 comment
· Fixed by jzheaux/spring-security-oauth2-resource-server#8
Closed
Resource Server handles missing/invalid Bearer Token #5125
jgrandja opened this issue
Mar 16, 2018
· 1 comment
· Fixed by jzheaux/spring-security-oauth2-resource-server#8
Labels
in: oauth2
An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)
type: enhancement
A general enhancement
Milestone
Comments
Related #5121 |
jzheaux
added a commit
to jzheaux/spring-security-oauth2-resource-server
that referenced
this issue
Apr 17, 2018
There were a couple of comments that were missed in the PR merge, namely one from @jzheaux regarding setRealmName and one from @jgrandja regarding OAuth2ParameterNames usage. Issue spring-projects/spring-security#5125
jzheaux
added a commit
to jzheaux/spring-security-oauth2-resource-server
that referenced
this issue
Apr 18, 2018
There were a couple of comments that were missed in the PR merge, namely one from @jzheaux regarding setRealmName as well as a quick change to pull WWW-Authenticate from Spring's HttpHeader constant. Issue spring-projects/spring-security#5125
jzheaux
added a commit
to jzheaux/spring-security-oauth2-resource-server
that referenced
this issue
Apr 18, 2018
There were a couple of comments that were missed in the PR merge, namely one from @jzheaux regarding setRealmName as well as a quick change to pull WWW-Authenticate from Spring's HttpHeader constant. Issue spring-projects/spring-security#5125
jzheaux
added a commit
to jzheaux/spring-security-oauth2-resource-server
that referenced
this issue
Apr 26, 2018
Reconfigured the auth0 sample to use the Resource Server Configurer. Note that this uncovered a problem with BearerTokenErrorHandler where is was calling sendError instead of setStatus. The contract of sendError indicates that it converts the content type to text/html and allows the container to send an html error response with the given message. Calling setStatus seems more apppropriate in our case. Issue: spring-projects/spring-security#5125
jzheaux
added a commit
to jzheaux/spring-security
that referenced
this issue
Jul 16, 2018
Introducing initial support for Jwt-Encoded Bearer Token authorization with remote JWK set signature verification. High-level features include: - Accepting bearer tokens as headers and form or query parameters - Verifying signatures from a remote Jwk set And: - A DSL for easy configuration - A sample to demonstrate usage Fixes: spring-projectsgh-5128 Fixes: spring-projectsgh-5125 Fixes: spring-projectsgh-5121 Fixes: spring-projectsgh-5130 Fixes: spring-projectsgh-5226 Fixes: spring-projectsgh-5237
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
in: oauth2
An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)
type: enhancement
A general enhancement
This feature implements Section 3 of RFC6750 The WWW-Authenticate Response Header Field .
AuthenticationEntryPoint
can be leveraged for the implementation.The text was updated successfully, but these errors were encountered: