#i have this error message: '
1 messages · Page 1 of 1 (latest)
What have you tried so far?
i made it work with the api, but i dont want to need to signin to create event, i want to be able to create event without any login
but i think its not possible using google ...
so i am able to add attende using api but i dont want to have to login basically
hm
if you have a service account in a backend then it should be fine, just grant it the necessary scopes
yes i use service account in backend but im not able to impersonate idk how i tried
its look like this const SCOPES = "https://www.googleapis.com/auth/calendar";
const jwtClient = new google.auth.JWT(
SERVICE_ACCOUNT_KEY.client_email,
null,
SERVICE_ACCOUNT_KEY.private_key,
SCOPES
);
its create the event but when i try adding attendee i receive the error
message: 'Service accounts cannot invite attendees without Domain-Wide Delegation of Authority.'
i am using node.js
try the fixes in the stackoverflow i linked for a sec, just debugging here
do i need google workspace ? cause i dont have a domain yet i run local may be i have to
What's your current set-up?
i run everything in local i dont have workspace configured
What do you mean running everything local?
so you aren't using any cloud stuff? how have you configured the service account?