OAuth Redirect URI not working

The application I’m using(CodiMD) uses an environment variable CMD_DOMAIN.
I set it’s value to my domain and it worked.

But now, I have issues regarding the profile. I’ll make a new topic and not club it here.