I tried to set up an OAuth 2.0 client on API Credentials page in Docebo with JWT Bearer grant type and upload a Public Key that is used to verify the signature of incoming assertion (JWT Bearer token). Docebo shows an error that Public Key is invalid (see an image 1 below).
I tried the following certificate file formats with public keys. Docebo doesn't accept them:
- Base-64 encoded X.509 (.CER)
- DER encoded binary X.509 (.CER)
Instructions from Docebo - APIs Authentication do not specify the file format too.
In which format Docebo accepts a Public Key for JWT Bearer grant type?
Docebo accepts public keys in PEM format (Base-64 encoded public key of X.509 certificate):
To get a public key of a base-64 encoded X.509 (.CER) use the following command: