Skip to content
← Back to activity

Immutable solution version

keycloak Invalid parameter: redirect_uri

Version 2Sign in to save

Complete solution

keycloak Invalid parameter: redirect_uri: What worked for me was adding wildchar '*'.

[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

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 2 · 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>