Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space PDOIDC and version master

Signing

The OIDC Provider from BankID supports signing of the following data elements:

...

Keys used for signing are marked with 

Code Block
"use":"sig"

Verification

The OIDC provider from BankID verifies the following data elements:

  • request authorize parameter
  • private_key_jwt client_assertion object

To support this validation, a jwks_uri must be registered for the given oidc client, such that BankID OIDC provider can retrieve validation keys. 


Encryption

Warning

Encryption of parameters containing personal information may be mandatory in the future.

We also support The OIDC provider from BankID supports decryption of the following element(s):

This login_hint encryption is a BankID OIDC proprietary function. Encryption of the request parameter, which was introduced later, are sufficient. The login_hint encryption are therefore deprecated, but still working.

Statically configured asymmetric keys are used for encryption according to details described in Jwk. OIDC Clients may encrypt the value of the login hint to ensure that personal information is not leaking in the user agent history. 

Remark that the encryption keys for login_hint are published through the BankID OIDC specific jwks_uri_enc while encryption keys for the request parameter are publish through the OIDC standard jwks_uri.  

Keys used for encryption are all marked with

Code Block
"use":"enc".

Encryption algorithms supported are:

login_hintrequest parameter
AlgEncAlgEnc
ECDH-ESA128GCMRSA1_5See openid-configuration document
RSA-OAEPA128CBC-HS256RSA-OAEPSee openid-configuration document
RSA-OAEP-256A128CBC-HS256RSA-OAEP-256See openid-configuration document

The encrypted login_hint should be formatted as a JWE Compact Serialization. The ciphertext is the encrypted plaintext login_hint.

The encrypted request parameter should be formatted as a JWE Compact Serialization. The ciphertext is the request parameter as a  signed JWT

Example

A typical login hint:

...