You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add to docs: PostGraphile supports any authentication that Node supports. #214
Arguably it's also a "bug in documentation" bug report: your choice:)
It just seems like there should be something, somewhere, which explains whether committing to Postgraphile means committing to local user accounts, or whether it's possible to combine the library with OAuth (eg. Google's, Facebook's, etc.).
changed the title [-]Does Postgraphile Support OAuth? I Could Find an Answer in the Documentation[/-][+]Add to docs: PostGraphile supports any authentication that Node supports.[/+]on Apr 17, 2020
Activity
benjie commentedon Apr 16, 2020
You can use any auth Node supports using the pgSettings function: https://www.graphile.org/postgraphile/usage-library/#pgsettings-function
To see this in action check out Graphile Starter which has GitHub OAuth via Passport.js.
benjie commentedon Apr 16, 2020
A PR to the docs to add this in the place you looked for it would be welcome.
[-]Does Postgraphile Support OAuth? I Could Find an Answer in the Documentation[/-][+]Add to docs: PostGraphile supports any authentication that Node supports.[/+]