Adding scope in NextAuth

Hello! I'm working on a project with a nonprofit partner that has setup their Cognito/database that I'm trying to hit. In the PoC they showed me the JWT decodes to have a scope of "scope":"openid membership-bff\\/admin email" but when I put in membership-bff/admin into the
authorization: {
params: { scope: `openid email profile` },
},
authorization: {
params: { scope: `openid email profile` },
},
I get hit with an error telling me I have an invalid scope. Is this a case where I take the token given to me by Cognito and manually inject membership-bff/admin somehow? would appreciate any tips or hints!
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server