mirror of
https://github.com/plankanban/planka.git
synced 2025-12-17 09:13:23 +03:00
fix: OIDC finalization and refactoring
This commit is contained in:
16
server/api/controllers/show-config.js
Normal file
16
server/api/controllers/show-config.js
Normal file
@@ -0,0 +1,16 @@
|
||||
module.exports = {
|
||||
fn() {
|
||||
return {
|
||||
item: {
|
||||
oidc: sails.config.custom.oidcIssuer
|
||||
? {
|
||||
issuer: sails.config.custom.oidcIssuer,
|
||||
clientId: sails.config.custom.oidcClientId,
|
||||
redirectUri: sails.config.custom.oidcRedirectUri,
|
||||
scopes: sails.config.custom.oidcScopes,
|
||||
}
|
||||
: null,
|
||||
},
|
||||
};
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user