After that, I set Users in the users table to the user table and tried to log in, but it says that this email address is not allowed to access, so the PIN code is not sent.
I created a table of email addresses with Any email in table and tried to log in, but I can’t log in with the same error.
Please let me know how can I allow only certain users to login.
There are a few different ways to achieve this, but let’s use the most common example, which is users that you already added to your User Profiles table. The Privacy settings you need for this are:
Access → Private
Sign In → Required
Users → Users in the Users table
If you can’t get it working, please provide screen shots of:
your privacy settings
your User Profiles configuration
your User Profiles table (from the Glide Data Editor)
Your first two screen shots appear to be from two different Apps.
They both show Privacy settings, but the first is the new configuration and the second is the old.
So which is the one from the App you are having problems with?
I made a slight mistake with my earlier advice:
that should actually be:
Access → Private
Users → Users in the Users table
Once you select Access → Private, sign in is automatically required, and so the sign in settings are hidden. Apologies for the misinformation.
Anyway, you’ve given two different versions of the Privacy settings, so we need to first establish which is the one you’re actually dealing with.
Okay, as far as I can see everything that you’ve shown me looks correct.
Can you try something please?
Try changing your privacy settings to Public/Optional/Anyone, and see if you can sign in using an email address that already exists in your Users table.
I realise these aren’t the settings you want, I’d just like to know if it works.
If it does work, please check your Users table to see if a new row is created, or whether your login is linked to an existing row.
I’d be very surprised if it’s a bug, as if it was it would be affecting Glide users all over the world.
It must be something specific to your App, but at the moment I can’t see what it is.
um, it can’t be both of the above. Either a new row was created, or the login was attached to an existing row. Anyway, I’ll assume that a new row was created. If that’s the case, that would suggest to me that the email address that you used to login didn’t already exist in your Users table. Which may explain why you couldn’t log in when sign in is restricted.
The next test I would ask you to do is to leave that new row in the users table (ie. don’t delete it), then change your privacy settings back to Private/Users in users table, and then try signing in again with that same email address that you used for the previous test.
That is, I found the fact that the user’s data is being referenced.
So I tried the following tests you suggested.
"The next test I would ask you to do is to leave that new row in the users table (ie. don’t delete it), then change your privacy settings back to Private/Users in users table, and then try signing in again with that same email address that you used for the previous test.
”
Okay, we seem to be going around in circles here. If you would be prepared to give me temporary access to your Team & App I may be able to figure out the problem.
Otherwise, it may be best to log a Support Ticket with Glide.