Code Monkey home page Code Monkey logo

Comments (4)

MrAlekhin avatar MrAlekhin commented on May 18, 2024 1

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.

kkirsche avatar kkirsche commented on May 18, 2024 1

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.

akajla09 avatar akajla09 commented on May 18, 2024 1

@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.

akajla09 avatar akajla09 commented on May 18, 2024

Agreed, thanks for the suggestion! I'll take a pass and try to add something.

from awesome-authorization.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.