how to refresh firebase token from back-end using node.js

I need to know that if that possible to refresh the firebase access token from back-end using node.js. I can get the token from front end and I need to refresh it and verify if the token is expired. condition : if the token expired then need to refresh it in the back-end. but the… Read More how to refresh firebase token from back-end using node.js

GitHub Pages deployment error: "You have to provide a GITHUB_TOKEN or GH_PAT"

I have a simple Node JS application built in the build directory using yarn and trying to deploy on GitHub Pages using GitHub Actions using crazy-max/ghaction-github-pages@v2 actinon in the simplest form: – name: Deploy uses: crazy-max/ghaction-github-pages@v2 with: target_branch: master build_dir: build env: $GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} (Note I deploy to master because the repository name… Read More GitHub Pages deployment error: "You have to provide a GITHUB_TOKEN or GH_PAT"