I plan to make an API from my GAE app by using the Google cloud endpoints.
I'd like to make this API available for third devs, so that they can make some requests on my endpoints.
However, i'd like to secure all this and limit the access only to some parts of the API and only allow some operations.
it seems firebase authentication is designed to manage the access to the server.
But i can't understand if i can secure my Google cloud endpoints with the Firebase Server SDK.
In other words, does the Firebase server SDK only designed to work with The firebase Database or it's possible to make it work with Google cloud endpoints ?
I just give you an example of what i'm expecting from Firebase + GCE.
I want to open my backend to third persons.
I want to set up a kind of scope (using firebase if possible).
The scope should define which operations will be allowed to be done throught my public GCE API. For ex. to open my backend at 10% but 90% remains closed and private.
Then, my application should be able to generate an auth token each time it will be demanded by the third dev. The token is for authentication purpose.
Once authenticated, the third dev can use my API and make allowed requests.
So, can i set up such a thing with firebase and GCE (Google Cloud endpoints) ?
Thanks for helping.