OIDC
When creating a new Session, you have the option to authenticate using a predefined OIDC Auth Scheme.
How does it work?
An OIDC Auth Scheme is comprised of:
an issuer, which is generally the URL of the service that provided the authentication token.
the keys URL, which is where the public keys are stored in the form of JWKs.
the media type for the request to fetch the keys, which will almost always be
application/json
the keys, which are used to validate the signature of the auth token
To authenticate using an OIDC Auth Scheme, you must have a scheme defined with an issuer matching the value of theiss
key in the JWT that you are sending. Here's an example decoded JWT from Apple:
This would automatically attempt to use the scheme defined for https://appleid.apple.com
Managing Auth Schemes
Elements will create several default schemes for common SSO providers. However, it is possible to create new schemes.
In the Auth section of the CRM, under the OIDC tab, you can create a new scheme or manage existing schemes.
An OIDC Auth Scheme follows the following structure:
Last updated