Sign in and get id token. Useful when developing and debuging your own backend.
Tested runing on local server (XAMPP).
- Make sure you have web app for your firebase project.
- Rename or copy
firebaseConfig.sample.js
tofirebaseConfig.js
. - Provide your web app
apiKey
infirebaseConfig.js
. You can get this from web app section on Project Settings.
- Open
index.html
on browser. (for example:http://localhost/firebaseIdTokenGenerator/index.html
) - Sign in with any method you want.
- If sign in succeeded, you will be redirected to
signedin.html
. - Id token will be loaded. You can use GET (force new) button to force new id token.