Skip to content

Add possibility to customize refresh token and DPoP binding #18018

@makcpopTwo

Description

@makcpopTwo

Expected Behavior

It should be possible to customize refresh token and DPoP binding, so engineers can use any binding scheme.

Current Behavior

Currently, it is not possible to customize this. Only one scheme is supported: binding through access_token

Context

The DPoP RFC is not specify how to bind refresh token and DPoP link does not specify how to bind the refresh token to DPoP; instead, it leaves this decision to the authorization server.

Currently, I have an authorization server (not using the latest Spring Security version) with custom DPoP logic implemented. In my implementation, I store the DPoP thumbprint inside the refresh token, so I don't need to use the access token for the binding.

It would be very useful to be able to customize the binding (validation) process between DPoP and refresh tokens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: oauth2An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)type: enhancementA general enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions