DEV Community

Auth By Example profile picture

Auth By Example

Practical lessons on auth, authorization, and access control.

Joined Joined on  Personal website https://www.permit.io
Validate the JWT audience claim

Validate the JWT audience claim

Comments
1 min read
Pull the tenant from the auth context, not the request body

Pull the tenant from the auth context, not the request body

Comments 1
1 min read
Authorize the object, not just the route

Authorize the object, not just the route

Comments 1
1 min read
Separate who can grant from who can act

Separate who can grant from who can act

Comments
1 min read
Never trust a client-supplied tenant ID

Never trust a client-supplied tenant ID

Comments
1 min read
Check permissions again after every trust boundary

Check permissions again after every trust boundary

Comments
1 min read
Default-deny beats allow-everything-then-trim

Default-deny beats allow-everything-then-trim

Comments
1 min read
loading...