keycloak / keycloak-quickstarts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Basic Auth Keycloak

imne opened this issue · comments

Description

Can you please add documentation on how to setup basic auth via keycloak for a spring boot application

Discussion

No response

Motivation

When trying to migrate legacy applications that use basic auth to keycloak it would be very useful to have documentation on how to achieve this via keycloak

Details

No response

Hi.
I would like to refresh the topic.

According to the instructions, you need to add "enable-basic-auth", as in previous versions, but now an exception occurs:

"Unrecognized field "enable-basic-auth" (class org.keycloak.representations.adapters.config.PolicyEnforcerConfig), not marked as ignorable (12 known properties: "enforcement-mode", "user-managed-access", "on-deny-redirect-to", "path-cache", "credentials", "paths", "realm", "lazy-load-paths", "auth-server-url", "claim-information-point", "http-method-as-scope", "resource"])"

I will be glad to hear your comments.
Thank you.