We're using firebase cloud functions (basically same as AWS lambda) for this - we just deploy the json file alongside the JS. I think if it's running on google cloud then don't even need the file: firebase.google.com/docs/aut…
1
Yep! Couldn't run clientside, but runs on something like cloud functions since they have local read-only fs. (You don't need a VM or EC2 instance) cloud.google.com/functions/d…
2
There are a few examples of using a 3rd party auth provider with firebase here - e.g. Instagram: github.com/firebase/function…
1
I need my app to be the auth service, not a third party auth provider. I am using a piece of data from authenticating MYSELF on another application (not a part of oauth)
1
I feel like if I explained what I'm doing you'd understand why I'm so limited, but I really only need to store a single thing and the simplest solution at this point if mLab doesn't work for it is to write my own service on my own db 😂
2
1
tbh it sounds like the simplest thing is to have each app generate its own long random string and use that as basically the key for writing and reading data. And this coming from someone who is clearly a fan of OAuth.
1
1
Well, I actually need the thing for the k:v pair, it's the one piece of data that is kind of like the key to the whole puzzle box. I'm just being lazy and because it changes every 3 minutes, I can't just grab one and use it for a while. I'm basically writing a small refresh svc
1
Yeah that may be easiest 😠I was hoping there was some service that allows unauthenticated requests but with arbitrary paths cause then you could write to like example.com/longrandomstring… = value. But mebbe I don't understand exactly
Jan 30, 2019 · 4:30 AM UTC
2


