mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-19 09:59:07 +00:00
FEAT: mailchimp config
This commit is contained in:
@@ -10,14 +10,14 @@ export class MailChimpStrategy extends PassportStrategy(Strategy, 'google') {
|
||||
private readonly oauthSecrets: OauthSecrets,
|
||||
) {
|
||||
const options: StrategyOptions = {
|
||||
clientID: oauthSecrets.google.client_id,
|
||||
clientSecret: oauthSecrets.google.client_secret,
|
||||
clientID: oauthSecrets.mailchimp.client_id,
|
||||
clientSecret: oauthSecrets.mailchimp.client_secret,
|
||||
callbackURL: oauthSecrets.mailchimp.redirect_uri,
|
||||
scope: [
|
||||
'https://www.googleapis.com/auth/drive.metadata.readonly',
|
||||
'https://www.googleapis.com/auth/spreadsheets.readonly',
|
||||
'https://www.googleapis.com/auth/userinfo.email',
|
||||
],
|
||||
callbackURL: oauthSecrets.google.redirect_uri,
|
||||
};
|
||||
const verify = (
|
||||
accessToken: string,
|
||||
|
||||
Reference in New Issue
Block a user