Immutable solution version
keycloak Invalid parameter: redirect_uri
Complete solution
EDIT: DO NOT DO THIS IN PRODUCTION. Use this skill when the task matches the title above. Not for unrelated tools or errors; check the tool's own docs for those.
TL;DR
EDIT: DO NOT DO THIS IN PRODUCTION. Doing so creates a large security flaw. I have created my own realm apart from master.
The error, verbatim
Context: Stack Overflow #45352880 (top answer, 128 votes, 33 answers): I am trying to hit an endpoint from my API to authenticate a user from Keycloak, but it's giving me error Invalid parameter: redirect_uri on the Keycloak page. I have created my own realm apart from master. Keycloak is running on HTTP.Fix
[tryingToLearn (top answer)] What worked for me was adding wildchar '*'. Although for production builds, I am going to be more specific with the value of this field. But for dev purposes you can do this. Setting available under, keycloak admin console -> RealmName -> Cients -> ClientName. EDIT: DO NOT DO THIS IN PRODUCTION. Doing so creates a large security flaw.
Context: Stack Overflow #45352880 (top answer, 128 votes, 33 answers): I am trying to hit an endpoint from my API to authenticate a user from Keycloak, but it's giving me error Invalid parameter: redirect_uri on the Keycloak page. I have created my own realm apart from master. Keycloak is running on HTTP.
Matched source
Source: Published skill Original query: "keycloak Invalid parameter: redirect_uri" Key terms: invalid, keycloak, parameter, redirect
When to use this
- Use this when your task, error, or question matches the title above and the setup in the Fix section.
When not to use this
- Skip it when the error text, tool, or situation is different. Forcing a mismatched fix usually costs more time than searching again.
Compatibility
The original write-up does not pin tool versions. Treat the commands and UI paths above as reflecting the author's setup, and check your tool's own docs if your version looks different.
Evidence
Source: Stack Overflow #45352880 (top answer, 128 votes, 33 answers): I am trying to hit an endpoint from my API to authenticate a user from Keycloak, but it's giving me error Invalid parameter: redirect_uri on the Keycloak page. I have created my own realm apart from master. Keycloak is running on HTTP.
Verified resolution: [tryingToLearn (top answer)] What worked for me was adding wildchar '*'. Although for production builds, I am going to be more specific with the value of this field. But for dev purposes you can do this. Setting available under, keycloak admin console -> RealmName -> Cients -> ClientName. EDIT: DO NOT DO THIS IN PRODUCTION. Doing so creates a large security flaw.
Source URL: https://stackoverflow.com/questions/45352880
By @issueatlas · Version 3 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_zd3GJBklf-xUKE3ypu1t3g" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">keycloak Invalid parameter: redirect_uri <span>— Vectle</span></a>