Giter Site home page Giter Site logo

Comments (5)

liminspace avatar liminspace commented on June 26, 2024

@alex-kowalczyk Is there any MJML backed that uses API Keys or OAuth2?

from django-mjml.

alex-kowalczyk avatar alex-kowalczyk commented on June 26, 2024

@liminspace I don't think that backends support that authentication directly, but it is quite common for self-hosted setups to host services behind authentication proxy, for instance with OAuth2-based JWTs in Google Cloud. Custom transport allowing to plug any authentication would be useful to integrate with such self-hosted backends.

from django-mjml.

Alexerson avatar Alexerson commented on June 26, 2024

@liminspace would you be open for a PR for this?
We are hosting the MJML function in AWS Lambda with an API Gateway and one easy way to limit access to it would be to add ApiKey Auth.
There are 2 ways I seed that could handle this use-case:

I think the 2nd solution would be easy to implement and non-breakable. If you’re willing to consider it, I can propose a PR.

from django-mjml.

liminspace avatar liminspace commented on June 26, 2024

@Alexerson sure, you can show your solution and I'll take it in implementing the feature

from django-mjml.

Alexerson avatar Alexerson commented on June 26, 2024

Thanks. See PR.

from django-mjml.

Related Issues (20)

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.