I wanted to change the style of my login page using this guide.
I’m running corteza as a docker container and use a reverse proxy to access the web app.
I set AUTH_DEVELOPMENT_MODE=true and AUTH_ASSETS_PATH=“/data/assets/auth” (/data directory is a docker-compose link to /srv/corteza/data).
Next in the container I called corteza-server auth assets export
.
After that I could log in but not access any namespace or admin panel. After I log in, I get redirected to an empty page (https://BASE_URL/?error=invalid redirect uri&state=SOME_ID).
After that I took the .env variables out because the login screen looked weird (as if a different css file was used, or something was missing).
I’m restoring the server from a backup now after looking for a solution online. Nothing seemed to make a difference. I tried setting the auth url, restarting, deleting the assets folder.
I googeled a little bit and found out it may have something to do with OAuth2. I know corteza uses it but I tried not to touch OAuth2 settings as I know to little about it.
Can anybody tell me what I did wrong, so I don’t do the same mistake again? I’ll appriciate any tipps.