Skip to content
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

Support rfc 7523 #433

Open
SmotrovaLilit opened this issue Aug 28, 2020 · 1 comment · May be fixed by #450
Open

Support rfc 7523 #433

SmotrovaLilit opened this issue Aug 28, 2020 · 1 comment · May be fixed by #450

Comments

@SmotrovaLilit
Copy link

SmotrovaLilit commented Aug 28, 2020

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?

SmotrovaLilit pushed a commit to SmotrovaLilit/oauth2 that referenced this issue Oct 25, 2020
SmotrovaLilit pushed a commit to SmotrovaLilit/oauth2 that referenced this issue Oct 25, 2020
SmotrovaLilit added a commit to SmotrovaLilit/oauth2 that referenced this issue Oct 25, 2020
Implement JSON Web Token Profile for OAuth 2.0 Client Authentication in client credentials flow.

See https://tools.ietf.org/html/rfc7523
See https://openid.net/specs/openid-connect-core-1_0.html

Fixes golang#433
SmotrovaLilit added a commit to SmotrovaLilit/oauth2 that referenced this issue Oct 25, 2020
Implement JSON Web Token Profile for OAuth 2.0 Client Authentication in client credentials flow.

See https://tools.ietf.org/html/rfc7523
See https://openid.net/specs/openid-connect-core-1_0.html

Fixes golang#433
SmotrovaLilit added a commit to SmotrovaLilit/oauth2 that referenced this issue Oct 25, 2020
Implement JSON Web Token Profile for OAuth 2.0 Client Authentication in client credentials flow.

See https://tools.ietf.org/html/rfc7523
See https://openid.net/specs/openid-connect-core-1_0.html

Fixes golang#433
SmotrovaLilit added a commit to SmotrovaLilit/oauth2 that referenced this issue Oct 25, 2020
Implement JSON Web Token Profile for OAuth 2.0 Client Authentication in client credentials flow.

See https://tools.ietf.org/html/rfc7523
See https://openid.net/specs/openid-connect-core-1_0.html

Fixes golang#433
SmotrovaLilit added a commit to SmotrovaLilit/oauth2 that referenced this issue Oct 20, 2021
Implement JSON Web Token Profile for OAuth 2.0 Client Authentication in client credentials flow.

See https://tools.ietf.org/html/rfc7523
See https://openid.net/specs/openid-connect-core-1_0.html

Fixes golang#433
@jordaniversen
Copy link

Any update on this?

SmotrovaLilit added a commit to SmotrovaLilit/oauth2 that referenced this issue Nov 18, 2023
Implement JSON Web Token Profile for OAuth 2.0 Client Authentication in client credentials flow.

See https://tools.ietf.org/html/rfc7523
See https://openid.net/specs/openid-connect-core-1_0.html

Fixes golang#433
SmotrovaLilit added a commit to SmotrovaLilit/oauth2 that referenced this issue Nov 18, 2023
Implement JSON Web Token Profile for OAuth 2.0 Client Authentication in client credentials flow.

See https://tools.ietf.org/html/rfc7523
See https://openid.net/specs/openid-connect-core-1_0.html

Fixes golang#433
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 a pull request may close this issue.

2 participants