Skip to content

Uses next-firebase-auth to authenticate users with Google, and use the credential with Firebase. This allows you to use gapi to call grantOfflineAccess() to obtain a code and exchange it for a token you can store for future offline use.

License

timfee/gapi-firebase

Repository files navigation

gapi-firebase

Uses next-firebase-auth to authenticate users with Google, and use the credential with Firebase.

This allows you to use gapi to call gapi.auth2.getAuthInstance().grantOfflineAccess() to obtain a code and exchange it for a token you can store for future offline use.

Walthrough

About

Uses next-firebase-auth to authenticate users with Google, and use the credential with Firebase. This allows you to use gapi to call grantOfflineAccess() to obtain a code and exchange it for a token you can store for future offline use.

Topics

Resources

License

Security policy

Stars

Watchers

Forks