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

loginRule.js not used #3

Open
dominikstohl opened this issue Dec 31, 2021 · 1 comment
Open

loginRule.js not used #3

dominikstohl opened this issue Dec 31, 2021 · 1 comment

Comments

@dominikstohl
Copy link

dominikstohl commented Dec 31, 2021

Hey, thanks for this amazing project. I've tried to start with this tutorial and followed all the steps.

But I'm wondering where the loginRule function is used? I don't find anything in the repo. Added some logs to see this during login but nothing is logged.

I commented out the protected pages for user management and created a user, then logged in with this user (same e-mail) via auth0 but it isn't matched.

And because the loginRule is not used, I can login with any user I've created in auth0, also if the user doesn't exist in the database connected to the lowdefy app.

Did I miss something?

Same behavior like described here, but I don't understand the solution. Didn't change anything, only added the .env file with the correct parameters. lowdefy/lowdefy#666

Thanks for your help! Dominik

@dominikstohl
Copy link
Author

Hello everyone,
I found the "problem". The Auth0 Rule in the repository is for use it as a rule in the Auth0. See here: https://auth0.com/docs/rules/create-rules

I would suggest adding this step in the Readme.

Dominik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant