Skip to content

pi0neerpat/oauth-2-passport-redwood

Repository files navigation

Redwood Passport.js Example

The easiest way to test locally is using the passport-google-oauth20 strategy. Read more: https://www.passportjs.org/packages/passport-google-oauth20/

In order for sessions to persist in our express server, we rely on connect-pg-simple

psql mydatabase < node_modules/connect-pg-simple/table.sql

TODO: add a script to run this command using the redwood DATABASE_URL? TODO: add something to ensure this is run for new projects

Fire it up

yarn
yarn redwood dev

Setup

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published