Hi There,
I made a quickstart SPA using the react SDK instruction. - Auth0 React SDK Quickstarts: Login
For users in users&roles - users - Metadata - app_metadata created metadata.
{
“roles”: [
“operator”
]
}
I see app_metadata on the Raw JSON page.
Получаю данные пользователя в приложении реакт:
import { useAuth0 } from ‘…/…/react-auth0-spa’
const { user } = useAuth0()
user.app_metadata - undefined
But there is no app_metadata parameter in user.
How can I get app_metadata?