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

Feature request: Get users phone number from getUser() function #184

Open chideraike opened 1 week ago

chideraike commented 1 week ago

Prerequisites

What is the problem you’re trying to solve?

I'm trying to get the user's phone number that they used to sign up with, especially when the only authentication method is phone number.

What solution would you like to see?

Something like this: const { getUser } = getKindeServerSession() const user = getUser() -> user.phone

Additional information

No response