How to get organization name in React SDK
I've been using this code in an older project to retrieve organization name:
But in my newest project, the claim "org_name" is never present. Why is that?
are there other ways of fetching the organization name of the logged in user?
3 Replies
Hey @LIFE that looks correct to me. I wonder if there is some caching going on with the token. Does it appear if you log in and out again with the user?
oops, my last message wasn't sent:
Figured it out, you have to customize your access_token
Ah perfect!