feat(backend): sso callback url and scope added in infra-config (#3718)

This commit is contained in:
Mir Arif Hasan
2024-03-07 12:37:51 +06:00
committed by GitHub
parent 919579b1da
commit 3611cac241
14 changed files with 394 additions and 144 deletions

View File

@@ -17,8 +17,8 @@ export class GithubStrategy extends PassportStrategy(Strategy) {
super({
clientID: configService.get('INFRA.GITHUB_CLIENT_ID'),
clientSecret: configService.get('INFRA.GITHUB_CLIENT_SECRET'),
callbackURL: configService.get('GITHUB_CALLBACK_URL'),
scope: [configService.get('GITHUB_SCOPE')],
callbackURL: configService.get('INFRA.GITHUB_CALLBACK_URL'),
scope: [configService.get('INFRA.GITHUB_SCOPE')],
store: true,
});
}