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
We've been working hard on AuthGuardian to make securing every app, server, and
API as straight-forward as possible. Today we've pushed support for adding express.js permissions for our onegraph-auth integration as a direct effect
inside AuthGuardian.
For example, if we wanted to only allow users to access the /we-rock route on
our express app if they were logged into Spotify, we could use these rules:
We've been working hard on AuthGuardian to make securing every app, server, and
API as straight-forward as possible. Today we've pushed support for adding
express.js
permissions for ouronegraph-auth integration
as a direct effectinside AuthGuardian.
For example, if we wanted to only allow users to access the
/we-rock
route onour express app if they were logged into Spotify, we could use these rules:
and that would give us the resulting JWT:
which we can use just like in our example expressjs + AuthGuardian app:
Check out the source code of the example
app if you're looking
for how to get started with Express and AuthGuardian!
The text was updated successfully, but these errors were encountered: