I"m running some tests on Metronic Demo 5 Vue (the Q&A site), and want to configure it to use our OIDC authentication server (Keycloak) for authentication. I"ve removed the code that pops up the stock login page and replaced it with the Keycloak configuration code. That piece works as expected. When I open up the URL I"m immediately taken to my auth server to login. After login, however, the redirect seems to take me to an invalid location, because I immediately see the 404 page.
The valid redirect URI for the webapp is set to "*", so it should redirect to wherever the user initially tried to go. However, I *always* get taken to the 404 page. I"d imagine it has something to do with the OIDC redirect that includes the session state value and all, but I"ve never encountered this particular error before.
Any tips on where to look to try and correct this?