kinde-oss / kinde-auth-nextjs

Kinde NextJS SDK - authentication for server rendered apps
https://kinde.com/docs/developer-tools/nextjs-sdk/
MIT License
132 stars 17 forks source link

Bug: getRoles return null even I've set role for user #181

Closed J0HN50N133 closed 2 weeks ago

J0HN50N133 commented 2 weeks ago

Prerequisites

Describe the issue

I've set role for a user in kinde's website, but I get null via getRoles api in a server component. image image image

Library URL

https://github.com/kinde-oss/kinde-auth-nextjs

Library version

2.2.13

Operating system(s)

Other Linux

Operating system version(s)

OpenSusze Tumbleweed

Further environment details

No response

Reproducible test case URL

No response

Additional information

No response

statecs commented 5 days ago

Hi, I have the same issue with "@kinde-oss/kinde-auth-nextjs": "2.3.3" Is it solved?

J0HN50N133 commented 5 days ago

Hi, I have the same issue with "@kinde-oss/kinde-auth-nextjs": "2.3.3" Is it solved?

No, I finally keeped the role in database. But Kinde team sended me an email ask me to book a call to get help. You could give it a try. support@kinde.com