diff --git a/example/plugins/backends/pyeudiw_backend.yaml b/example/plugins/backends/pyeudiw_backend.yaml index 33a1f55c..0a26a2dd 100644 --- a/example/plugins/backends/pyeudiw_backend.yaml +++ b/example/plugins/backends/pyeudiw_backend.yaml @@ -24,8 +24,31 @@ config: jwt: default_sig_alg: ES256 # or RS256 + default_enc_alg: RSA-OAEP + default_enc_enc: A256CBC-HS512 default_exp: 6 # minutes - + enc_alg_supported: + - RSA-OAEP + - RSA-OAEP-256 + - ECDH-ES + - ECDH-ES+A128KW + - ECDH-ES+A192KW + - ECDH-ES+A256KW + enc_enc_supported: + - A128CBC-HS256 + - A192CBC-HS384 + - A256CBC-HS512 + - A128GCM + - A192GCM + - A256GCM + sig_alg_supported: + - RS256 + - RS384 + - RS512 + - ES256 + - ES384 + - ES512 + authorization: url_scheme: "eudiw" # eudiw:// scopes: @@ -73,12 +96,17 @@ config: storage: mongo_db: cache: - url: mongodb://localhost:27017/ - conf: - db_name: eudiw + module: pyeudiw.storage.mongo_cache + class: MongoCache + config: + url: mongodb://localhost:27017/ + conf: + db_name: eudiw storage: - url: mongodb://localhost:27017/ - conf: + module: pyeudiw.storage.mongo_storage + class: MongoStorage + config: + url: mongodb://localhost:27017/ db_name: eudiw db_collection: sessions @@ -87,19 +115,9 @@ config: application_type: web #The following section contains all the algorithms supported for the encryption of response - authorization_encrypted_response_alg: - - RSA-OAEP - - RSA-OAEP-256 - authorization_encrypted_response_enc: - - A128CBC-HS256 - - A192CBC-HS384 - - A256CBC-HS512 - - A128GCM - - A192GCM - - A256GCM - authorization_signed_response_alg: - - RS256 - - ES256 + authorization_encrypted_response_alg: + authorization_encrypted_response_enc: + authorization_signed_response_alg: #Various informations of the client client_id: "/" @@ -113,19 +131,9 @@ config: default_max_age: 1111 #The following section contains all the algorithms supported for the encryption of id token response - id_token_encrypted_response_alg: - - RSA-OAEP - - RSA-OAEP-256 - id_token_encrypted_response_enc: - - A128CBC-HS256 - - A192CBC-HS384 - - A256CBC-HS512 - - A128GCM - - A192GCM - - A256GCM - id_token_signed_response_alg: - - RS256 - - ES256 + id_token_encrypted_response_alg: + id_token_encrypted_response_enc: + id_token_signed_response_alg: # loaded in the __init__ # jwks: