admin管理员组

文章数量:1404611

On my project we use Google Firebase as a distribution tool. There is a Firebase App Distribution API CURL call with the method projects.apps.releases.list that looks like this:

curl \
'/[PROJECT_NUMBER]/apps/[APP_NUMBER]/releases?key=[YOUR_API_KEY]' \
--header 'Authorization: Bearer [YOUR_ACCESS_TOKEN]' \
--header 'Accept: application/json' \
--compressed

How can you get [YOUR_ACCESS_TOKEN] programmatically?

I need something like another API call to get this ACCESS_TOKEN, or maybe some framework, or maybe someone knows where this token can be found to just hardcode it in the project. Any solution is welcome.

I've read tons of Google's documentations and tried a lot, but couldn't find something structured, precise and specific.

本文标签: How to get an ACCESSTOKEN for a Firebase App Distribution API callStack Overflow