Skip to content
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

RA metadata endpoint is not working #342

Open
pmeulen opened this issue Nov 17, 2024 · 0 comments
Open

RA metadata endpoint is not working #342

pmeulen opened this issue Nov 17, 2024 · 0 comments
Labels

Comments

@pmeulen
Copy link
Member

pmeulen commented Nov 17, 2024

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"}}
@pmeulen pmeulen added the bug label Nov 17, 2024
@github-project-automation github-project-automation bot moved this to New in Stepup Nov 17, 2024
@phavekes phavekes added the ra label Nov 29, 2024
@phavekes phavekes moved this from New to Backlog in Stepup Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

2 participants