idurar / idurar-erp-crm

Free Open Source ERP CRM Accounting Invoicing Software | Node Js React
https://cloud.idurarapp.com
GNU Affero General Public License v3.0
6.54k stars 2.01k forks source link

Question: how i login or register in idurar web application #896

Open MugishBeldar opened 10 months ago

MugishBeldar commented 10 months ago

Questions login:- how l login in idurar web application Registration:- when i do register on idurar application i face this error (Request error 409 Registration is not allowed , please contact application administrator)

Prabhat-6789 commented 10 months ago

first you will have to do setup codebase. I think you have not run command "npm run setup". Therefore this issue came.

parth-chovatiya commented 10 months ago
  1. Setup frontend & backend codebase
  2. Setup the database url (in .env)
  3. Go to the backend directory, and run the below command on the terminal i. npm install ii. npm run setup
  4. Go to a database in the settings collection and find the document having settingKey: idurar_registration_allowed. Change the settingValue from false to true
ThibaltZer commented 10 months ago

I modified settingKey: idurar_registration_allowed

I see my account has been registered in the database but when I log in I get the following error Request error 500 Missing API key. Pass it to the constructor new Resend("re_123")

I try npm run setup again MongoServerError: E11000 duplicate key error collection: mydatabase.admins index: email_1 dup key: { email: "admin@demo.com" }

Prabhat-6789 commented 10 months ago

You will have to first geneate an API KEY on resend and then set API KEY as environment variable in .env file.

ThibaltZer commented 10 months ago

Thanks a lot

I have configured the resend api key I have validated my domain on resend

But I see a 403 error with the following message "message": "The idurarapp.com domain is not verified.

Where can I change the domain in the configuration files?

ThibaltZer commented 10 months ago

I modified the database directly {settingKey: 'email_domainl'} {settingKey: 'idurar_app_email'}

And now I've received the confirmation e-mail, but I can't validate the key. image

I think I need to configure the JWT Token in the .env file, but how? Is there a doc apart from the readme?

WarrenMartin commented 10 months ago

yes even i am facing the issue even on the youtube video it isnt told properly please help us

ptminh-kmp commented 9 months ago
  1. Create Resend account: https://resend.com/ and create an API KEY.
  2. Copy and paste Resend API Key at backend .env: RESEND_API
  3. Access to MongoDb, schema "settings" and update the following settingKey:
    • idurar_registration_allowed: change settingValues from false to true
    • email_domain: change settingValues to resend.dev
    • idurar_app_email: change settingValues to onboarding@resend.dev
newetard commented 5 months ago

hi, im able to register, but unable to login. can someone please help