ActivID AS Public Server JWK Set
The ActivID AS server publishes its public keys as a JSON Web Key Set (JWKS). This enables clients to:
-
Validate identity tokens issued by the server (as specified in the OpenID Connect Core specifications - section 3.1.3.7)
-
Validate JWT-encoded claims returned at the userInfo endpoint
-
Encrypt JWT request objects to authentication endpoint (as specified in the OpenID Connect Core specifications - section 6)
The public keys are available at the following URL:
https://[base-server-url]/{tenant}/authn/jwks [GET]
The JWK set URL is referenced in the jwks_uri claim from the metadata published at the discovery endpoint.
Sample request to get the server’s public keys:
GET https://[base-server-url]/{tenant}/authn/jwks HTTP/1.1
Sample response
HTTP/1.1 200 OK
Content-Type: application/json
{
"keys": [{
"kty": "RSA",
"x5t#S256": "ZrPsquD9bQgIOWXKMToyhDnsVW3CL9g2r33yXLrUrZE",
"e": "AQAB",
"use": "sig",
"kid": "1529070049824",
"x5c": ["MIIDZjCCAk6gAwIBAgIGAWQDrVogMA0GCSqGSIb3DQEBCwUAMFcxEzARBgNVBAsTCk9OTElORUJBTksxEzARBgNVBAoTCkhJRCBHbG9iYWwxKzApBgNVBAMTIihPTkxJTkVCQU5LKSBBY3RpdklEIElEUCBTaWduYXR1cmUwHhcNMTgwNjE0MTM0MDQ5WhcNMjMwNjE1MTM0MDQ5WjBXMRMwEQYDVQQLEwpPTkxJTkVCQU5LMRMwEQYDVQQKEwpISUQgR2xvYmFsMSswKQYDVQQDEyIoT05MSU5FQkFOSykgQWN0aXZJRCBJRFAgU2lnbmF0dXJlMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArAoa+Ezg2B3HDSVodJYrsRwuKPwsPfxZOU3vuwX0X48rI2h\/t\/fYt7lZSBOaSYNEUooZvgV9j\/9eDPIG4NoEoO40BtVir+cWU+QkfNrMt0MHT43K2nExTzCJXddD0fAXxnOkBZRpmbBvfJEn3CTPegfGZms+H57hIkdsHz1XA9d9HNC8AKjlnDPkyG9CSX1WtqG5gcB0AsyYuNy4A\/TYvsKCKrqs54kkvrNXpCfCKZOEp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8wNi2p\/frwCggra4+IXA4OCf+FDBxIXgz5PomrrfoGlmt86Nw6vMKvgI35kJw0="],
"alg": "RS256",
"n": "lekjMkTSSZmgVuIFx_XhEG3AS6WHR1eYY_65hnxqGu8pb3SuBork61gpEWMHpdqfT5bCZwuQAFo7yBWr1PIiFGeTafAiA8vi9RnsHH-ufVfjJs1PJoC0VnUOqL2BV4vFFmzspBf2XuhlWFyd0o6F5NFPYXVjr6YwCekO5fBvvE6T2-yx5amUHREuWFJJKk0Em6crTw9wBlZgQ975hTettiCN_QGUIHpwGIn4orzBbs1I7qZ5FIZgD6naksIPbenCK784yUXXYeSmc4R_TXgHm36se4soiK-ItBiSWN1cgDVzvGwU0_OuOCRzULoAPoXqdn6TfhubcxWGItR5ihqtwQ"
}
]
}
The key with "use": "enc" contains an RSA key and X.509 certificate chain (“x5c”) to encrypt request data (for example, the request object, sent by the client).
Possible error responses are:
Code | Label | Possible Errors |
---|---|---|
|
|
invalid_request |