Mint an M2M test token

Builds a JWT signed with this tenant's RSA key.

Controller expects https://{dnsPrefix}.{CloudInstance:Domain}. The JwtBearer middleware fetches JWKS from this URL's .well-known/openid-configuration, so it must resolve to this LocalAuth0 instance.
Must match Authentication:JwtBearer:ValidAudience on the target API.
Space-separated list. register:m2m-client is required for the M2M register endpoint.
CustomJsonWebTokenHandler caps token lifetime at 10 minutes (600 seconds).
Back