Hi Speckle community.
I want to ask you the following.
I am using Azure AD authentication for Speckle v1. I want to know how the JWT is obtained in the process when I make an auth request to:
I am talking specifically about this
Authorization: JWT <token value>here:
I am doing some test using POSTMAN, and when I use the above JWT, I manage to authenticate to the
https://<speckle-server-url>/api/accounts endpoint previously adding these headers:
Content-Type: application/json, text/plain, */*
Authorization: JWT <token value>, this is the JWT token itself.
So I am trying to get this token by myself from postman as well, by using the Service principal client id and client secret and the azure tenant id I configured to enable Azure AD authentication on my speckle server, following these steps
client_secret I got succesfully the azure token, as we can see here:
But when I use that token to authenticate against
https://<speckle-server-url>/api/accounts speckle endpoint I cannot succeed.
Do you know how can I get the proper token like that one shown at the inspect login picture above to authenticate to speckle v1?