Skip to content
This repository was archived by the owner on May 31, 2022. It is now read-only.
This repository was archived by the owner on May 31, 2022. It is now read-only.

Optional Authorization in Introspection Endpoint #1832

Closed
@rlanhellas

Description

@rlanhellas

In my company we are using a old version of Axway Security Token Services and this version don`t accept Authentication in check_token endpoint.

Reading the code I discovered that in this point (https://github.com/spring-projects/spring-security-oauth/blob/master/spring-security-oauth2/src/main/java/org/springframework/security/oauth2/provider/token/RemoteTokenServices.java) the method loadAuthentication() is loading the credentials:

MultiValueMap<String, String> formData = new LinkedMultiValueMap<String, String>(); formData.add(tokenName, accessToken); HttpHeaders headers = new HttpHeaders(); headers.set("Authorization", getAuthorizationHeader(clientId, clientSecret));

I know this follow the RFC Token Introspection but in our case we need override this method to work with this version of Axway STS that don`t follow RFC as expected (unhappy).

I would like to know if I can open a Merge Request to give an option to remove the Authorization when needed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions