Skip to content

Commit

Permalink
🐛 fix: warning for generic oidc
Browse files Browse the repository at this point in the history
  • Loading branch information
cy948 committed Sep 2, 2024
1 parent 910f24a commit 3448d15
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/config/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,13 @@ export const getAuthConfig = () => {
);
}
if (process.env.GENERIC_OIDC_CLIENT_ID) {
console.warn(removeTipsTemplate('GENERIC_OIDC_CLIENT_ID', 'AUTH_GENERIC_ID'));
console.warn(removeTipsTemplate('GENERIC_OIDC_CLIENT_ID', 'AUTH_GENERIC_OIDC_ID'));
}
if (process.env.GENERIC_OIDC_CLIENT_SECRET) {
console.warn(removeTipsTemplate('GENERIC_OIDC_CLIENT_SECRET', 'AUTH_GENERIC_SECRET'));
console.warn(removeTipsTemplate('GENERIC_OIDC_CLIENT_SECRET', 'AUTH_GENERIC_OIDC_SECRET'));
}
if (process.env.GENERIC_OIDC_ISSUER) {
console.warn(removeTipsTemplate('GENERIC_OIDC_ISSUER', 'AUTH_GENERIC_ISSUER'));
console.warn(removeTipsTemplate('GENERIC_OIDC_ISSUER', 'AUTH_GENERIC_OIDC_ISSUER'));
}
if (process.env.GITHUB_CLIENT_ID) {
console.warn(removeTipsTemplate('GITHUB_CLIENT_ID', 'AUTH_GITHUB_ID'));
Expand Down

0 comments on commit 3448d15

Please sign in to comment.