Skip to content

Commit

Permalink
Use B2B Sessions JWKS URL (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
logan-stytch authored Aug 21, 2023
1 parent 6d5e69f commit 7ebc83f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stytch/b2b/b2bstytchapi/b2bstytchapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func (a *API) instantiateJWKSClient(httpClient *http.Client) (*keyfunc.JWKS, err
RefreshUnknownKID: true,
}

jwksURL := fmt.Sprintf("%s/v1/sessions/jwks/%s", a.baseURI, a.projectID)
jwksURL := fmt.Sprintf("%s/v1/b2b/sessions/jwks/%s", a.baseURI, a.projectID)

type Res struct {
jwks *keyfunc.JWKS
Expand Down
2 changes: 1 addition & 1 deletion stytch/config/version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package config

const APIVersion = "11.1.1"
const APIVersion = "11.1.2"

0 comments on commit 7ebc83f

Please sign in to comment.