Ensure there are no trailing slashes or extra characters that could cause a mismatch
Save your OKTA application settings
If using Grafana with a custom root_url configuration, make sure your redirect URI includes this path
This error happens because OAuth2 security requires the exact redirect URI to be pre-registered with the identity provider to prevent redirect attacks.