Context : "I'm using nextauth.js to carry out an O...
# integrations
m
Context : "I'm using nextauth.js to carry out an OAuth2 with OpenId flow. The idea is to get outbound OpenID auth from Netsuite for an external application." Problem : "The flow works as expected, but the jwt that is returned has a mismatched iss claim. In the 'wellknown' metadata the issuer value is 'https://OURACCOUNT.app.netsuite.com'. In the jwt 'iss' value it's 'https://system.netsuite.com'. So the Oauth process fails at the last hurdle throwing an 'unexpected iss value' error. Question : "Is this a bug, or am I doing something wrong somewhere. Is there a workaround / hack by modifying the iss value I pass to NS?"
n
@tdietrich / @erictgrubaugh / @battk / @creece / @michoel ^^ would this be anything you guys have come across before or be able to advise on?