KindeK
Kinde2y ago
6 replies
mariodebono

After calling createOrg({ org_name: 'name' }) a call to /token that returns 500

I am manually calling createOrg as part of the onboarding flow in my react app and I have noticed that once the createOrg comes back and the receive the code in my callback there is a call that goes to /token which comes back with 500 response. the app still works with this.

Not sure if this is normal behaviour or because of the 500, after calling createOrg, the user is not automatically logged in the new Org getOrganization() returns no orgCode

Am I doing something wrong? is this an issue I need to work around?

thanks
Was this page helpful?