keycloak / keycloak-nodejs-connect

Apache License 2.0
682 stars 421 forks source link

Support for HTTP Basic Authentication #417

Closed khanisak closed 2 years ago

khanisak commented 2 years ago

Description

Based on keycloak documentation on java adapter, here

There is an option to activate HTTP basic authentication feature.

"enable-basic-auth" : false

Description of the configuration,

OPTIONAL. This tells the adapter to also support basic authentication. If this option is enabled, then secret must also be provided. The default value is false.

The "Basic" HTTP authentication allow us to transmits credentials as user ID/password pairs, encoded using base64 in the authorization request headers, like this.

Authorization: basic dXNlcm5hbWVrdTpwYXNzd29yZGt1

It seems keycloak nodejs adapter does not have this option yet, would be great to see this feature added in the future.

Discussion

No response

Motivation

No response

Details

No response

jonkoops commented 2 years ago

The Node.js adapter has been deprecated, so we will not be adding any new features any longer. More information can be found in the announcement blog post.