-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: added ContainsKey to check if exists revocation endpoint #42
base: main
Are you sure you want to change the base?
Conversation
fix: removed exception throw if revocation endpoint is missing style: changed code to avoid warning remarks
Da valutare il fatto che ho rimosso la generazione dell'eccezione nel caso in cui il revocation endpoint non sia impostato. Non so se questa cosa è corretta. |
fix: added OPMetadata_OpenIdConnectConfiguration with custom prop fix: restored exception throw in SpidCieHandler when empty revocation endpoint fix: use OPMetadata_OpenIdConnectConfiguration custom prod instead of AdditionalData
refactor: restored revocation endpoint retrieve from AdditionalData refactor: restored logo and name retrieve from AdditionalData refactor: restored use of OpenIdConnectConfiguration fix: ignore OpenIdConnectConfiguration during json parse to use specific function fix: changed way to parse OP entiry conf to use specific function for OpenIdConnectConfiguration
fix: added object to allow serialization of openid_provider
Ho aggiunto un oggetto |
Aggiunto un test per verificare il risultato della serializzazione delle informazioni che vengono utilizzate nel resolve endpoint per generare il JWT che viene restituito. Patendo dal contenuto del file {
"metadata": {
"openid_provider": {
"acr_values_supported": [],
"authorization_endpoint": "http://127.0.0.1:8000/oidc/op/authorization",
"claims_supported": [],
"claims_locales_supported": [],
"claims_parameter_supported": true,
"claim_types_supported": [],
"display_values_supported": [],
"frontchannel_logout_session_supported": null,
"frontchannel_logout_supported": null,
"grant_types_supported": [],
"id_token_encryption_alg_values_supported": ["RSA-OAEP"],
"id_token_encryption_enc_values_supported": ["A128CBC-HS256"],
"id_token_signing_alg_values_supported": [],
"introspection_endpoint": "http://127.0.0.1:8000/oidc/op/introspection/",
"introspection_endpoint_auth_methods_supported": [],
"introspection_endpoint_auth_signing_alg_values_supported": [],
"logout_session_supported": false,
"request_object_encryption_alg_values_supported": [],
"request_object_encryption_enc_values_supported": [],
"request_object_signing_alg_values_supported": [],
"response_modes_supported": [],
"response_types_supported": [],
"scopes_supported": [],
"subject_types_supported": [],
"token_endpoint": "http://127.0.0.1:8000/oidc/op/token/",
"token_endpoint_auth_methods_supported": [],
"token_endpoint_auth_signing_alg_values_supported": [],
"ui_locales_supported": [],
"userinfo_endpoint": "http://127.0.0.1:8000/oidc/op/userinfo/",
"userinfo_encryption_alg_values_supported": [],
"userinfo_encryption_enc_values_supported": [],
"userinfo_signing_alg_values_supported": [],
"Issuer": null,
"TokenEndpoint": "http://127.0.0.1:8000/oidc/op/token/",
"revocation_endpoint": "http://127.0.0.1:8000/oidc/op/revocation/",
"op_name": "Agenzia per l\u2019Italia Digitale",
"op_uri": "https://www.agid.gov.it",
"contacts": ["ops@https://idp.it"],
"client_registration_types_supported": ["automatic"],
"code_challenge_methods_supported": ["S256"],
"request_authentication_methods_supported": {
"ar": ["request_object"]
}
}
},
"trust_marks": [],
"trust_chain": [],
"iss": "http://127.0.0.1:5000/ta",
"sub": "http://127.0.0.1:8000/oidc/op/",
"iat": 1737730378,
"exp": 1737903178
} Verificata la presenza della proprietà |
fix: removed exception throw if revocation endpoint is missing
style: changed code to avoid warning remarks
fixes #41