oidc: automatically submit consent form

Fixes #828
This commit is contained in:
Johannes Zellner
2023-06-20 19:58:09 +02:00
parent 79d9cce2e7
commit 4fe055c3a8
2 changed files with 15 additions and 11 deletions
+1 -1
View File
@@ -274,7 +274,7 @@ class CloudronAdapter {
if (!client) return null;
const tmp = {};
tmp.application_type = client.application_type || 'native'; // default is web but we want more flexible redirectUris and this is only used in https://github.com/panva/node-oidc-provider/blob/03c9bc513860e68ee7be84f99bfc9dc930b224e8/lib/helpers/client_schema.js#L53
tmp.application_type = client.application_type || 'native'; // default is web but we want more flexible redirectUris and this is only used in https://github.com/panva/node-oidc-provider/blob/03c9bc513860e68ee7be84f99bfc9dc930b224e8/lib/helpers/client_schema.js#L536
tmp.client_id = id;
tmp.client_secret = client.secret;
tmp.id_token_signed_response_alg = client.tokenSignatureAlgorithm || 'RS256';