Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keycloak authentication "Not Found: {\"error\":\"Unable to find matching targe" #187

Closed
yeldeeb opened this issue Aug 18, 2024 · 3 comments

Comments

@yeldeeb
Copy link

yeldeeb commented Aug 18, 2024

I tried to connect to keycloak using the following provider below but I got unable to find matching targe

image

{
    "providers": [
        {
            "id": "keycloak",
            "label": "Keycloak SSO Login",
            "provider": "keycloak",
            "params": {
                "site": "http://xxxxxxxxxxx:8080/auth/realms/xxxx",
                "clientId": "xxxxxxxxxx",
                "clientSecret": "xxxxxxxxx",
                "callbackUrl": "http://localhost:9339/keycloak",
                "fields": {
                    "username": "/preferred_username"
                },
                "scopes": ["openid"]
            }
        }
    ]
}
@jonrosner
Copy link
Contributor

can you provide a minimal reproducible example? how did you start keycloak?

@jonrosner
Copy link
Contributor

It seems like they dropped the /auth from the .well-known URLs. So try removing it and doing the same flow again. Also you are missing some fields.

@jonrosner
Copy link
Contributor

I will close this one due to inactivity. You can reopen the issue if you tried the above step and it still didn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants