Skip to content

RA metadata endpoint is not working #342

Description

@pmeulen

The URL at which the RA version 6.0.1 publishes it's metadata (https://<hostname>/authentication/metadata) returns an HTTP 500 error page.

Logs show that the RA is trying to start a SAML authentication, which it must not do for this route.

Logs:

{"message":"Checking for authenticator support.","context":{"firewall_name":"saml_based","authenticators":1},"level":100,"level_name":"DEBUG","channel":"security","datetime":"2024-11-17T18:38:18+01:00","extra":{"server":"ra. ...","application":"registration-authority","request_id":"d1c805595b4e8f868ab4c703cd203ad2"}}
{"message":"Checking support on authenticator.","context":{"firewall_name":"saml_based","authenticator":"Surfnet\\SamlBundle\\Security\\Authentication\\SamlAuthenticator"},"level":100,"level_name":"DEBUG","channel":"security","datetime":"2024-11-17T18:38:18+01:00","extra":{"server":"ra. ...","application":"registration-authority","request_id":"d1c805595b4e8f868ab4c703cd203ad2"}}
{"message":"Determine if StepupSamlBundle::SamlAuthenticator supports the request","context":{},"level":200,"level_name":"INFO","channel":"app","datetime":"2024-11-17T18:38:18+01:00","extra":{"server":"ra. ...","application":"registration-authority","request_id":"d1c805595b4e8f868ab4c703cd203ad2"}}
{"message":"Authenticator does not support the request.","context":{"firewall_name":"saml_based","authenticator":"Surfnet\\SamlBundle\\Security\\Authentication\\SamlAuthenticator"},"level":100,"level_name":"DEBUG","channel":"security","datetime":"2024-11-17T18:38:18+01:00","extra":{"server":"ra. ...","application":"registration-authority","request_id":"d1c805595b4e8f868ab4c703cd203ad2"}}
{"message":"Uncaught PHP Exception TypeError: \"Surfnet\\StepupRa\\RaBundle\\Controller\\SamlController::__construct(): Argument #2 ($remoteIdp) must be of type Surfnet\\SamlBundle\\Entity\\IdentityProvider, null given, called in /var/www/html/var/cache/prod/ContainerBmnwuOU/getSamlControllerService.php on line 30\" at SamlController.php line 33","context":{"exception":{"class":"TypeError","message":"Surfnet\\StepupRa\\RaBundle\\Controller\\SamlController::__construct(): Argument #2 ($remoteIdp) must be of type Surfnet\\SamlBundle\\Entity\\IdentityProvider, null given, called in /var/www/html/var/cache/prod/ContainerBmnwuOU/getSamlControllerService.php on line 30","code":0,"file":"/var/www/html/src/Surfnet/StepupRa/RaBundle/Controller/SamlController.php:33"}},"level":500,"level_name":"CRITICAL","channel":"request","datetime":"2024-11-17T18:38:18+01:00","extra":{"server":"ra. ...","application":"registration-authority","request_id":"d1c805595b4e8f868ab4c703cd203ad2"}}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions