mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-24 11:24:10 +01:00
🔧 docs: Add comments for supported algorithms in openidStrategy.js
This commit is contained in:
parent
e5743a0b10
commit
b0ebc265a3
1 changed files with 8 additions and 0 deletions
|
|
@ -195,6 +195,14 @@ async function setupOpenId() {
|
||||||
const issuer = await Issuer.discover(process.env.OPENID_ISSUER);
|
const issuer = await Issuer.discover(process.env.OPENID_ISSUER);
|
||||||
logger.info(`[openidStrategy] Discovered issuer: ${issuer.issuer}`);
|
logger.info(`[openidStrategy] Discovered issuer: ${issuer.issuer}`);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Supported Algorithms, openid-client v5 doesn't set it automatically as discovered from server.
|
||||||
|
* - id_token_signed_response_alg // defaults to 'RS256'
|
||||||
|
* - request_object_signing_alg // defaults to 'RS256'
|
||||||
|
* - userinfo_signed_response_alg // not in v5
|
||||||
|
* - introspection_signed_response_alg // not in v5
|
||||||
|
* - authorization_signed_response_alg // not in v5
|
||||||
|
*/
|
||||||
/** @type {import('openid-client').ClientMetadata} */
|
/** @type {import('openid-client').ClientMetadata} */
|
||||||
const clientMetadata = {
|
const clientMetadata = {
|
||||||
client_id: process.env.OPENID_CLIENT_ID,
|
client_id: process.env.OPENID_CLIENT_ID,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue