parse-community / parse-community/parse-server

Add Auth0 authentication adapater

Open
#7,478 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type:feature
Dominant language
JavaScript
Stars
21.4k
Forks
4.8k
Avg merge
7h 45m
Merged PRs (30d)
11

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing Google authentication adapter and its certificate-verification entry points, then compare them with Auth0's certificate endpoints and token flow. Follow the adapter's existing tests if present; done means Auth0 users can authenticate through Parse Server without a per-login Auth0 API query.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
api, authentication, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.