Set custom oidc client id and secret in the backend

This commit is contained in:
Johannes Zellner
2023-10-06 14:11:54 +02:00
parent 41319bc817
commit 5e7bc78d35
6 changed files with 91 additions and 70 deletions

View File

@@ -1956,11 +1956,9 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
});
};
Client.prototype.addOidcClient = function (id, name, secret, loginRedirectUri, tokenSignatureAlgorithm, callback) {
Client.prototype.addOidcClient = function (name, loginRedirectUri, tokenSignatureAlgorithm, callback) {
var data = {
id: id,
name: name,
secret: secret,
loginRedirectUri: loginRedirectUri,
tokenSignatureAlgorithm: tokenSignatureAlgorithm
};
@@ -1973,9 +1971,8 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
});
};
Client.prototype.updateOidcClient = function (id, name, secret, loginRedirectUri, tokenSignatureAlgorithm, callback) {
Client.prototype.updateOidcClient = function (id, name, loginRedirectUri, tokenSignatureAlgorithm, callback) {
var data = {
secret: secret,
name: name,
loginRedirectUri: loginRedirectUri,
tokenSignatureAlgorithm, tokenSignatureAlgorithm