Returns the public half of the site's badge signing key as a JWK.
A verifier reads the key ID from a badge's JWS header, fetches it here and checks the signature. The response is the bare JWK — key type, modulus, exponent, key ID, algorithm and use — and never contains the private part.
Endpoint
Method:
GETPath:
/certificates/open-badges/keys/{kid}Edition: PRO
Controller:
OpenBadgeController@publicKeyRoute source:
fluent-community-pro/app/Modules/Certificates/Http/certificates_api.php:56There is one key per site and no rotation, so there is no key set endpoint either; the key ID is a thumbprint of the key itself.
A request with an unknown key ID answers 404, but it still generates and stores the key first if the site does not have one yet.
Inferred sample
No recorded sample exists for this endpoint yet, so the payload below is inferred from the controller and model definitions. Field names and types are accurate; values are placeholders.
GET Get Public Key
Returns the public half of the site's badge signing key as a JWK.
Controller: OpenBadgeController@publicKey
Route source: fluent-community-pro/app/Modules/Certificates/Http/certificates_api.php:56
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Responses
Successful response