Replies: 1 comment 3 replies
-
@matf3en wondering if you ever figured this out? Running into the same issue now. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to auth with Oracle's 'Netsuite' ERP using OAuth2 and Open ID Connect via Next-Auth.
Broadly, everything is going okay, but it turns out that the JWT returned by Netsuite does not include the azp claim.
So the Next-Auth flow fails with an error :
`[next-auth][error][OAUTH_CALLBACK_ERROR]
https://next-auth.js.org/errors#oauth_callback_error missing required JWT property azp {
error: RPError: missing required JWT property azp
......
},
providerId: 'netsuite',
message: 'missing required JWT property azp'`
There is no ability to add the azp (this decade) from Netsuite side.
So, is there a way to stop the Next-Auth validation from checking the azp claim or to make the azp claim not required?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions