qdm12 / stackedit-docker

StackEdit 5.14.5 Server in a light Docker container
https://hub.docker.com/r/qmcgaw/stackedit
MIT License
42 stars 16 forks source link

Google API key got converted to lower case #12

Open Ondolin opened 2 years ago

Ondolin commented 2 years ago

Hi,
I am trying to use the google sign in, but have some problems with my API key. I added one to the docker-compose, but for some reason the GET method uses lower case version of my API key. Therefore I get a 400 INVALID_ARGUMENT.
Is this issue known? Can I fix this somehow?

jbd7 commented 1 year ago

Hi, I'm facing the same issue now, it gets lowercased with and without " marks. Have you figured out a workaround @Ondolin?

Ondolin commented 1 year ago

I've looked quite some time for another way to do this. But I don't think there is a workaround without looking into the code. And that has been to much effort for me.

jbd7 commented 1 year ago

Hey @Ondolin, thanks for your quick reply. I was trying something and I think I managed a workaround:

I managed to sync a workspace and sync a file 2-ways between GDrive and Stackedit. Let me know if that works for you!