Hello, I'm currently trying out the captive portal module from packetfence and having difficulties with the OIDC Authentication. I believe I set up the OIDC authentication source correctly as I get redirected back from the Microsoft page. After that, the following error message occurs: OAuth2 Error: Failed to validate the token, please retry
I believe the browser has a problem redeeming the token, the error-log shows the following message: Access to XMLHttpRequest at 'https://login.microsoftonline.com/*******/oauth2/authorize?response_type=code&redirect_uri=https%3A%2F%2F*****%2Foauth2%2Fcallback&client_id=******&hd=&state=&scope=openid' (redirected from 'https://*****/oauth2/common/img/sprite.svg') from origin 'https://*****' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. I searched through the different apache configs but even when I add the Access-Control-Allow-Origin Header through apache, it does not seem to work. Am I missing something? For reference the SAML-Authentication seems to have the same issue, so I suspect a problem with the captive portal itself? Greetings Heiko Matthies ASAP Engineering GmbH?Sachsstra?e?1A?|?85080?Gaimersheim Tel. +49 (8458) 3389 252?|?Fax. +49 (8458) 3389 399 heiko.matth...@asap.de?|?www.asap.de Gesch?ftsf?hrer: Michael Neisen,?Robert Werner,?Christian Schweiger?| Sitz der Gesellschaft:?Gaimersheim | Amtsgericht:?Ingolstadt HRB 5408 Datenschutz: Ausf?hrliche Informationen zum Umgang mit Ihren personenbezogenen Daten bei ASAP erhalten Sie auf unserer Website unter www.asap.de\datenschutz. _______________________________________________ PacketFence-users mailing list PacketFence-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/packetfence-users