Our great sponsors
-
PSJsonWebToken
A PowerShell module that contains functions to create, validate, and test JSON Web Tokens (JWT) as well as the creation of JSON Web Keys (JWK).
-
jenkins
PowerShell module for interacting with a CloudBees Jenkins server using the Jenkins Rest API. (by PlagueHO)
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
So it depends on if your endpoint accepts JWTs. Generally I obtain a JWT from a seperate endpoint by passing a client ID and secret via IRM. The other way for endpoints that I "own" is that I generate one myself via New-JsonWebToken in my PSJsonWebToken module. Examples in readme here under "Token decoding, creation, and validation": https://github.com/anthonyg-1/PSJsonWebToken