Skip to content

Hook API endpoint on Register page #29

@shivamvijaywargi

Description

@shivamvijaywargi

What to do:

  • Use server actions to make an API call to the backend to register a new user
  • Store the session token in cookies as httpOnly and other options (You will get them from the backend)
  • Redirect the user to the homepage (Later on need to redirect the user to the same page they came from)

References:

  • Look at the login implementation

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions