declare the oauth2proxy clientSecret a secret

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2022-04-05 15:32:06 +02:00
parent ad55e2f005
commit de231e5b06
2 changed files with 8 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-auth-backend': patch
---
Declare oauth2 `clientSecret` with visibility secret
+3
View File
@@ -90,6 +90,9 @@ export interface Config {
oauth2?: {
[authEnv: string]: {
clientId: string;
/**
* @visibility secret
*/
clientSecret: string;
authorizationUrl: string;
tokenUrl: string;