Redirect URI does not match
Code: redirecturimismatch
On this page
Code: redirect_uri_mismatch
- HTTP status: 400 Bad Request
- OAuth
error:invalid_request - Shown to the end user: This app tried to send you to an address it isn't set up for, so we stopped sign-in. Go back to the app and try again. If it keeps happening, tell the app's developer.
Request-specific detail for this error goes to the app or developer (API response, developer view, logs). The public page shows only the short message and the code.
Cause
The redirect_uri on the /authorize request is not exactly one of the redirect URIs registered for the client. Matching is exact: scheme, host, port, path and trailing slash all count.
Fix
Send one of the registered URIs, or register the exact redirect_uri: in the console, or with 'tessera clients ensure <client_id> --redirect-uri <existing> --redirect-uri <new>' (the flag sets the full list, so repeat every URI you keep). The hosted error page shows the URI sent, and, to a signed-in realm administrator, the registered ones.