JSON Web Tokens (JWTs) allow claims, such as user data, to be represented in a secure manner, helping to ensure trust and security in your app. JWTs are an open standard, and there are various libraries available that allow you to create, verify, and inspect them.
Okta uses JWTs for many purposes. For example, when you make requests to Okta API endpoints that require client authentication, you can optionally use a JWT for additional security.
Use this guide to understand:
There are two types of self-signed JWT assertions that you can build for use when you make requests to endpoints that require client authentication:
The difference between building these two types of assertions is the algorithm and key used to sign the JWT.
Which JWT type that you use depends on the client authentication method configured in your OAuth 2.0 client application. See Client Authentication Methods for more information on the supported methods and when to use them.
Note: To create a client application and specify either the
private_key_jwtauthentication method, see the Add OAuth 2.0 Client Application API reference section. To change the client authentication method of an existing app, see the Update the Client Authentication Method API reference section.
Tip: Don't know which method is configured for your client app? You can quickly check the settings by doing a GET to