Custom Member system with custom login page, How can i do it?

Hi guys, i have a database with this fields: Name and password. I Want to make a custom login page that checks the name and the password writed in the input, and if the name and the password in the input is correct then redirects to their user dynamic page. The dynamic page url it’s (ex. url) “website.com/Users/{name}

This “User system” is not connected with wix members or site contacts. It’s users created by me, manually.

Please help me guys!

Hi! I can only give you a direction.

If you don’t want to use pre-developed way of managing users - you will need to handle all problems and security by yourself in code

In general, approach should be following - lightbox with textinputs, clicking submit should call backend function which checks if password is correct in database and if yes, returns some answer to lightbox. Based on this answer you should generate link to dynamic page with “user” added, and then you should call wixlocation.to() function to generated URL.
Please note you can’t avoid using backend functions, call to database with passwords from client is insecure and possibly can lead to password leak - this is how client calls works.

Hi, Thank you a lot! i’m not the best with wix corvid backend features… So… can you help me please :frowning: ?

@dragonfx1234 I can’t write code for you, its not the purpose of this forum. I can help you on bugs or not clear parts of docs, but it you want someone to write code - you should find someone more experienced on https://www.wix.com/marketplace

Which may be best solution in your choice, because keeping security on good level will be tough. What you describe is not novice level task

@mikhail-spirin-wix oh okay :smiley: