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.