Skip to content

Commit b72b21c

Browse files
author
Travis CI User
committed
Fixes from CI
1 parent e2ada99 commit b72b21c

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

.cachedValidUrls.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"http://restify.com/",
1414
"http://stackoverflow.com/a/11166268/1568890",
1515
"http://stackoverflow.com/a/18687445/1568890",
16+
"http://www.passportjs.org/",
1617
"http://www.postgresql.org/docs/current/static/ddl-rowsecurity.html",
1718
"http://www.postgresql.org/docs/current/static/functions-matching.html",
1819
"http://www.postgresql.org/docs/current/static/indexes-ordering.html",

src/pages/postgraphile/jwt-guide.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@ title: PostGraphile JWT Guide
99
> project. The language of the specification is meant to be generally applicable
1010
> and adoptable by any who might want to use it.
1111
12-
**NOTE**: what follows is a specification of how you can use JWTs to authenticate a user
13-
with PostgreSQL such that PostgreSQL may perform your authorization checks. This
14-
is not the only way of achieving this goal with PostGraphile, for example you
15-
can do as the PostGraphile maintainer does and use standard session-based
16-
authentication (i.e. with cookies) via the relevant Express/Koa/Fastify middleware
17-
and PostGraphile's [`pgSettings` function](/postgraphile/usage-library/#pgsettings-function)
12+
**NOTE**: what follows is a specification of how you can use JWTs to
13+
authenticate a user with PostgreSQL such that PostgreSQL may perform your
14+
authorization checks. This is not the only way of achieving this goal with
15+
PostGraphile, for example you can do as the PostGraphile maintainer does and use
16+
standard session-based authentication (i.e. with cookies) via the relevant
17+
Express/Koa/Fastify middleware and PostGraphile's
18+
[`pgSettings` function](/postgraphile/usage-library/#pgsettings-function)
1819
allowing you to leverage powerful pre-built authentication stacks such as
1920
[passport.js](http://www.passportjs.org/) which has OAuth integration with most
2021
major "social login" providers.

0 commit comments

Comments
 (0)