Bomi
WWasp-lang
•Created by Bomi on 11/13/2024 in #đŸ™‹questions
Fetching Emails
@kapa.ai i have reimplemented my google auth and has successfully been able to receive the access token, however i implemented the readonly gmail api on google's cloud console and the token generated doesnt show the require readonly scope
1. config as as follows
export const config = () => ({
scope: ['profile',
'email',
'https://www.googleapis.com/auth/gmail.readonly'
],
accessType: 'offline',
prompt: 'consent'
});
2. Google Cloud Console ensured to have gmail.readonly scope added
3. ngrok is used to expose my port, ngrok generated URL has been added to the BASE_URL in env.server and added to the authorised domains in google cloud console
33 replies
WWasp-lang
•Created by Bomi on 11/13/2024 in #đŸ™‹questions
Fetching Emails
thanks for the links , i'll be back if i have any problems đŸ™‚
33 replies
WWasp-lang
•Created by Bomi on 11/13/2024 in #đŸ™‹questions
Fetching Emails
i am more lost than i was before đŸ’€
33 replies
WWasp-lang
•Created by Bomi on 11/13/2024 in #đŸ™‹questions
Fetching Emails
@kapa.ai adding a configFn under google: { in main.wasp is an unexpected field
33 replies
WWasp-lang
•Created by Bomi on 11/13/2024 in #đŸ™‹questions
Fetching Emails
@kapa.ai can you provide me help on how i can persist the google auth access and refresh tokens after Google login
33 replies
WWasp-lang
•Created by Bomi on 11/13/2024 in #đŸ™‹questions
Fetching Emails
i want them to be displayed before i set them as a reference for future queries through the gpt api
33 replies
WWasp-lang
•Created by Bomi on 11/13/2024 in #đŸ™‹questions
Fetching Emails
yes fetching emails recieved in gmail
33 replies
WWasp-lang
•Created by Bomi on 11/13/2024 in #đŸ™‹questions
Fetching Emails
@kapa.ai i have added a fetchEmail action to main.wasp and into my actions.js , given that i want to display the fetched emails onto my webpage , how do i import the actions function to be used in my Dashboard or Layout .jsx files
33 replies
WWasp-lang
•Created by Bomi on 11/13/2024 in #đŸ™‹questions
Fetching Emails
@kapa.ai Does wasp contain any fetch Email type of functions i can reference in general
33 replies