Skip to content
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

Implement Auth0 middleware in the API #761

Open
ygrishajev opened this issue Jan 30, 2025 · 0 comments
Open

Implement Auth0 middleware in the API #761

ygrishajev opened this issue Jan 30, 2025 · 0 comments

Comments

@ygrishajev
Copy link
Contributor

Recently we allowed credentials to be sent to the server be able to utilize cloudflare protections. This made possible to send cookies to the server. In turn this makes auth proxy redundant. We need to add similar logic to auth middleware on the api to be able to get rid of the proxied requests.

Acceptance criteria:

  • api auth middleware is able to verify a user by auth0 session cookie
  • /v1/start-trial is not proxied when user is logged in
  • /v1/start-trial sends the cookies to the API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant