part of my project connects to the google calendar api which i need an oauth2 connection for and part of my token.json file, but the token seems to expire weekly and i have no idea how to fix it. it makes my app crash and then i have to delete the token.json file on my local machine and make a new git push to fix it. am i just missing something to make it not do that
#Google OAuth with railway?
17 messages · Page 1 of 1 (latest)
oh god please don't put your Auth file onto github
you still shouldn't do that
i mean yeah fair
how do your normally download a new Auth file?
the authenticate function just makes a new one after i log in with browser window
its just really annoying that the token expires
how can it expire if the authentication function is making a new one?
i mean it only makes a new one if there isnt one in the project
change it so it makes a new one if the old one is about to expire
yeah unfortunately i just dont know when it expires and i feel like it should be easy to change the authentication to make it last longer
well you can look into that, it's not really railway specific
yeah ik, just was wondering if someone here did know.