Skip to content

server: add ClientPasswordVerifierCtx - #302

Open
mibanescu wants to merge 1 commit into
go-oauth2:masterfrom
mibanescu:clientpasswordverifierctx
Open

server: add ClientPasswordVerifierCtx#302
mibanescu wants to merge 1 commit into
go-oauth2:masterfrom
mibanescu:clientpasswordverifierctx

Conversation

@mibanescu

Copy link
Copy Markdown

Contexts are frequently used to store request-specific metadata, such as client_assertion_type / client_assertion parameters needed to implement RFC7523 JWT-based client authentication.

Contexts are frequently used to store request-specific metadata, such
as client_assertion_type / client_assertion parameters needed to
implement RFC7523 JWT-based client authentication.
@mibanescu

Copy link
Copy Markdown
Author

I added a new interface because I didn't want to silently break existing implementations that rely on ClientPasswordVerifier, since they would fall back to the usual secret comparison verification and will fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant