Next.js Discord

Discord Forum

Next Auth: authorization_endpoint

Unanswered
Sun bear posted this in #help-forum
Open in Discord
Sun bearOP
What property in the OAuthProvider object corresponds to this setting?

I found:
claims.id_token
authorization.endpoint_uri (not it)
requestTokenUrl (currently /oauth2/V2.0/authorize)

I saw some posts on the Next Auth GitHub but they point to the v4 spec for Custom OAuth provider which also doesn't note which property configures this url

message: "authorization_endpoint must.be configured on the issuer"

1 Reply

Sun bearOP
Looking at core/lib/OAuth/authorization_url.js

It looks like it's looking for client.authorizationUrl

I have both

{ authorizationUrl }
And
{ authorization: { authorizationUrl}}
Set with no luck
😞