How can I get a token with organization ID

Get token with OrganizationID.

I want to send a petition to an endpoint like: “https://mydomain.com/oauth/token”. This endpoint have 2 headers that I need, username and password. I use the grant_type=password header.
I want to get a token with the organizationID, I know the organization of my user but I want to get the token calling this endpoint or other one with the email and password of the user and organizationID. How can I do that? I´m using ASP.NET CORE 6.

Hello @a19daniellr !

Unfortunately, the Resource Owner Password Grant is not supported in the context of Organizations as noted here.

The organization param is only supported through an /authorize request:

Hope this helps to clarify!

1 Like

Oh thank you ! I didn´t see that. Is there any way to do something similar ?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.