Register Page Fails

Login or register page fails on local environment

When you try to open login or register page on local development, you have this kind of error:

login register fails

First, check your environment URLs for local development:


Go to ROQ Console (opens in a new tab) then Projects Details, select The Projects then copy Local Development environment by clicking Copy Env File button.

environment on ROQ console

and then copy paste it into your local .env file.

If you don't have any .env file in your local development then create it or rename .env.example file into .env.

Restart the app and it should work. If you are not using localhost:3000 then adjust it before you copy the environment data.

local development env settings