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

feat: [AUTH-1403] Golang M2M Support #137

Merged
merged 4 commits into from
Aug 7, 2023
Merged

feat: [AUTH-1403] Golang M2M Support #137

merged 4 commits into from
Aug 7, 2023

Conversation

max-stytch
Copy link
Contributor

A prettier version of #133


This PR introduces M2M support for the Go client library.

  • The first commit runs codegen and pulls in M2M support + lots of non-M2M support
  • The second commit adds two manual methods to stytch/consumer/m2m.go
    • Token exchanges a M2M Client ID and Client Secret for a JWT
    • AuthenticateM2MToken validates that JWT using a project's JWKS

@max-stytch max-stytch requested a review from a team as a code owner August 7, 2023 20:31
@linear
Copy link

linear bot commented Aug 7, 2023

@max-stytch max-stytch merged commit a6004c0 into main Aug 7, 2023
3 checks passed
@max-stytch max-stytch deleted the max/m2m-2 branch August 7, 2023 20:50
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.

2 participants