Details of the steps required to set up a JWT connector between Edflex and your platform.
Find out how to set up an “automatic” connection via a JWT connector. This means your learners won't have to log in to Edflex manually if they have an account in your tool.
Generally requiring specific adaptation of your system, the JSON Web Token (JWT) is used as a last resort if your system doesn't support the OIDC and SAML 2.0 standards.
Step 1: Generate a JWT token
Edflex will send you a 64-character encryption key (HS256), with which you'll need to generate a JWT token to set up the connector.
Here's a site that lets you create JWT tokens very quickly: http://jwtbuilder.jamiekurtz.com
Step 2: Data to be sent via JWT token
The fields requested in the JWT token are the following (all required):
- firstname
- lastname
- sub (a unique identifier, not used on our side but important for the “JWT standard” and our tool)
- iat (Issued At)
- exp (Expire At)
URL structure
The JWT must be sent as a “query parameter” in the Edflex URL.
This will result in URLs like the following:
- To the portal's home page: https://domain.edflex.com?bearer=[JWT_token]
- To a specific resource: [resource_url]?bearer=[JWT_token]
The [resource_url] can be retrieved directly from the portal for individual selection or via the API for automated bulk management.