Troubleshoot Production
Local success, production failure — credentials, callbacks, HTTPS, environment prefixes.
On this page
Same auth host (auth.keyra.ie). Environment is selected by credential prefixes and project settings.
Works locally but fails on production domain
Symptom
Sandbox/localhost integration works; production domain fails.
Most likely causes
- Still using _test_ credentials
- Production redirect_uri not registered
- HTTP vs HTTPS
- Trailing slash / host differences
- Secrets still pointing at sandbox project
How to diagnose
- cp_prod_ / sk_prod_ in server env?
- redirect_uri exact match for production URL?
- No localhost URLs left in production config?
How to fix
- Follow the production checklist.
- Update portal callback list.
- Rotate if secrets leaked to client bundles.
Related errors: invalid_redirect_uri, invalid_client, invalid_return_url
Related guides: Production readiness, Environments
