Skip to content

Add Auth0 authentication adapater #7478

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks done
lukasredev opened this issue Aug 4, 2021 · 2 comments
Open
3 tasks done

Add Auth0 authentication adapater #7478

lukasredev opened this issue Aug 4, 2021 · 2 comments
Labels
type:feature New feature or improvement of existing feature

Comments

@lukasredev
Copy link

New Feature / Enhancement Checklist

Current Limitation

Parse Server currently does not support authentication using auth0.

Feature / Enhancement Description

Implement an authentication adapter for auth0; implementation could be very similar to the Google auth adapter since Auth0 also provides endpoints to the certs used for signing the tokens.

Example Use Case

Parse-based application that uses auth0 for authentication.

Alternatives / Workarounds

It would be possible to use the default oauth2 provider to implement authentication with auth0. However, this requires a query to the auth0 API for every login. Verifying the token directly in the Parse-Server using the certificates provided by Auth0, would improve latency and improve developer convenience.

3rd Party References

I would propose to follow the implementation of the current Google adapter closely.

If you approve of this proposal, I would implement the adapter and create PR, since I need it anyway for a project I am working on. I also saw that @davimacedo already proposed creating an adapter for Auth0 here.

@mtrezza mtrezza added the type:feature New feature or improvement of existing feature label Aug 4, 2021
@mtrezza
Copy link
Member

mtrezza commented Aug 4, 2021

Thanks for suggesting! There is an auth issue / PR that deals with general restructuring of the Auth Adapter:

How does that relate to this PR? Just to mention that there is another PR that may have an impact on this PR.

@lukasredev
Copy link
Author

@mtrezza, thanks for your comment. I looked at the other PRs, and as far as I understand them, they should not impact the authentication adapters interface, so I think they should not have an impact on this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature or improvement of existing feature
Projects
None yet
Development

No branches or pull requests

2 participants