Skip to content

jwt: support RFC 7523 JWT Profile #433

Open
@SmotrovaLilit

Description

@SmotrovaLilit

Current implementation client authentication with jwt is not supported rfc 7523 Client Authentication.

In https://github.com/golang/oauth2/blob/master/jwt/jwt.go token request likes as

 POST /token.oauth2 HTTP/1.1
 Host: as.example.com
 Content-Type: application/x-www-form-urlencoded

 grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Ajwt-bearer
 &assertion=eyJhbGciOiJFUzI1NiJ9....

In rfc 7523 https://tools.ietf.org/html/rfc7523#section-3 token request likes as:

POST /token.oauth2
     Host: as.example.com
     Content-Type: application/x-www-form-urlencoded

     grant_type=authorization_code&
     code=n0esc3NRze7LTCu7iYzS6a5acc3f0ogp4&
     client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3A
     client-assertion-type%3Ajwt-bearer&
     client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6IjIyIn0.
     eyJpc3Mi[...omitted for brevity...].
     cC4hiUPo[...omitted for brevity...]

Do you plan to implement rfc7523?

Activity

added 3 commits that reference this issue on Oct 25, 2020
e4c4907
220358a
a73fab1
added 3 commits that reference this issue on Oct 25, 2020
06ee726
56f9a0b
d4025d6
added a commit that references this issue on Oct 20, 2021
267a86f
jordaniversen

jordaniversen commented on Apr 20, 2022

@jordaniversen

Any update on this?

added 2 commits that reference this issue on Nov 18, 2023
1971a7d
7b46ef7
changed the title [-]Support rfc 7523[/-] [+]jwt: support RFC 7523 JWT Profile[/+] on Apr 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @SmotrovaLilit@jordaniversen

      Issue actions

        jwt: support RFC 7523 JWT Profile · Issue #433 · golang/oauth2