fix(okta): userinfo route mismatch (#7602)

This commit is contained in:
Pras Velagapudi
2026-01-28 17:06:03 -08:00
committed by Alex Yang
parent 33619cc9a3
commit acf774087d
@@ -53,7 +53,7 @@ export function okta(options: OktaOptions): GenericOAuthConfig {
const getUserInfo = async (
tokens: OAuth2Tokens,
): Promise<OAuth2UserInfo | null> => {
const userInfoUrl = `${issuer}/v1/userinfo`;
const userInfoUrl = `${issuer}/oauth2/v1/userinfo`;
const { data: profile, error } = await betterFetch<OktaProfile>(
userInfoUrl,