I am trying to integrate BoxyHq-saml provider into a Nextjs15 app with next-auth version 5.0.0-beta.25. To test the integration, I used the Mock Saml xml metadata to create a saml connection. When I try to login, I am successfully redirected to their login page, which sends me back to localhost. Then the following happens:
POST /api/oauth/token 200 in 4463ms
[auth][error] CallbackRouteError: Read more at #callbackrouteerror
[auth][cause]: OperationProcessingError: only requests to HTTPS are allowed
[auth][details]: { "provider": "boxyhq-saml" }
GET /api/auth/callback/boxyhq-saml?code=75b180ce81aad2cd6276997afe97637cb64e768d890a6ac7833a89df7e1bb527.9607c444947d6f96855b1e5abb44a616a6da751a&state=ggq7iumgatj 302 in 11086ms
GET /api/auth/error?error=Configuration 500 in 246ms