Comments (4)
I remember Laravel had some features like token "abilities" similar to OAuth scoping of the tokens to access the API.
https://laravel.com/docs/7.x/sanctum#token-abilities
from awesome-authorization.
Oso comes to mind as an amazing resource for this kind of thing https://www.osohq.com they have a mix of supported languages and resources to learn from
from awesome-authorization.
@MrAlekhin - I came across a couple of resources that I think give some good insight into best practices around authn/authz in APIs. I linked them in the list but also linking here:
- Best Practices for Building Secure API Keys - covers some best practices including how to safely generate and store keys, the importance of properly scoping keys and rate limiting, all of which imo is good advice irrespective of which auth approach/framework you adopt.
- Stripe's Approach to API Keys - Stripe has these interesting concepts of publishable (client-side safe) and secret (server-only) keys as well as live/test environments which I think could be useful for anyone building API platforms to adopt.
Hope these are helpful.
from awesome-authorization.
Agreed, thanks for the suggestion! I'll take a pass and try to add something.
from awesome-authorization.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awesome-authorization.