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

API: crypto is not defined error #570

Open
Allan2000-Git opened this issue Dec 1, 2024 · 3 comments
Open

API: crypto is not defined error #570

Allan2000-Git opened this issue Dec 1, 2024 · 3 comments
Assignees
Labels
difficulty: 3 good first issue Good for newcomers help wanted Extra attention is needed priority: high scope: api Everything related to the API type: bug Something isn't working

Comments

@Allan2000-Git
Copy link
Contributor

Allan2000-Git commented Dec 1, 2024

Describe the bug
When running the project using pnpm dev:api, the app initially works fine. However, navigating to the Auth Page, entering an email, and clicking Get Started triggers a 500 server error, with the message:
crypto is not defined

To Reproduce
Steps to reproduce the behavior:

  1. Run the API using pnpm dev:api.
  2. Run the Platform using pnpm dev:platform
  3. Navigate to the Auth Page.
  4. Enter a your email in the input field.
  5. Click on "Get Started".
  6. Observe the error on the server terminal of your code editor.

Expected behavior
Clicking "Get Started" should successfully trigger the otp sending process without server errors.

Screenshots
Screenshot 2024-12-01 123028

Desktop (please complete the following information):

  • Node.js Version: 18.18.0
  • Package Manager: pnpm
  • Operating System: Windows
  • Browser: Chrome
@rajdip-b rajdip-b added type: bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed scope: api Everything related to the API priority: high difficulty: 3 labels Dec 1, 2024
@rajdip-b rajdip-b moved this to Todo in keyshade-api Dec 1, 2024
@rajdip-b rajdip-b changed the title Bug: crypto is not defined error in Auth Page (server side) API: crypto is not defined error Dec 1, 2024
@dk5488
Copy link

dk5488 commented Dec 2, 2024

Hi can i work on this issue?

@rajdip-b
Copy link
Member

rajdip-b commented Dec 3, 2024

Sure, go ahead. Be sure to read through the contribution guidelines and our docs about setting up the codebase locally.

@rajdip-b rajdip-b moved this from Todo to In progress in keyshade-api Dec 3, 2024
@rajdip-b
Copy link
Member

rajdip-b commented Dec 9, 2024

@dk5488 any progress?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: 3 good first issue Good for newcomers help wanted Extra attention is needed priority: high scope: api Everything related to the API type: bug Something isn't working
Projects
Status: In progress
Development

No branches or pull requests

3 participants