OpenConext / OpenConext/Stepup-RA
RA metadata endpoint is not working
Open
@pablothedude is already working on this.
Since Mar 5, 2025.
bug
ra
- Dominant language
- PHP
- Stars
- 2
- Forks
- 2
- Avg merge
- 8d 23h
- Merged PRs (30d)
- 3
Description
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"}}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.