We are making an app that will need a user to sign up and pay externally on a page (on kajabi). Once payment has been made outside the app, we want to be able to sign them in directly and access the paid content.
Our question is this: is it possible to create a user account via an external form?
Thanks in advance for all your help!
I’m not sure what exact problem are you experiencing.
Here is an example video I’ve made for you - I’m adding a new user there using curl and then I can log in with this user successfully: Loom | Free Screen & Video Recording Software | Loom
What exactly is not saved into user account? Did you check user collection permissions - maybe they restrict saving updates?
Thanks for the video.
You’ve missed one critical part (what is on the “Sign up” button on a Sign Up screen). Though I still can see some options to explore.
In order to get rid of multiple Sign Up buttons (which is a list of users), you need to select this list, make group out of it, make this group conditionally visible only if email input is not equal to empty.
Reason: when the value filter for the list is empty (no email entered) → the list displays all items. This is a default Adalo behaviour for several months already.
On the “Complete” button on New Password screen, the first action you have is Update Logged-in User, setting the password.
The issue is that there is no logged in user at this moment. You need to update a password for current user.
NB: Adalo won’t allow you to do it unless you change the corresponding Collection Permisson settings.
I am not sure that update password for current user and then immediate login (as a next action) will work; maybe there won’t be enough time to proceed with update. But this needs to be tested.
In my opinion, subsequent problems are related to the fact that you don’t have logged-in user in the subsequent screens.
I really hope that you didn’t rename built-in 4 properties in Users collection (email, password, username, full name) and you’re using correct original property (email) for a login. Otherwise I can’t even imagine which glitches you may have .
Thanks for the tips! Everything you said makes sense. And no worries, I didn’t rename the 4 built in properties in Users collection.
After reading through your notes, I have a few follow-up questions:
I agree with you that the login step right after update is weird so I think the new flow will be this:
First time login screen
Login using email and temp password
Get a pop up on the screen to reset password, go to forget password screen
Or option to “skip” and access the content.
The temporary password we map to the account via the zapier integration. If I can figure out how to let a user login using their temp password, I could then send them a modal/pop-up after we successfully log them in, with a message that says, “we recommend you reset your password here” and direct them to the Forget Password page.
Alternatively, it would be even better if there is a way I can have a user login to their account with their temp password and then create a password on the next screen (which was the original intention).
I think this is possible if I can get the adalo account to leave the password field empty instead of [hidden]
Right now the current issues I am having are:
I can’t seem to log a user in with their temp password, every time I try, I get a message saying "this account must use a different login option.
Figure out how to automatically create a user account without setting a password. The field should be empty not “[hidden]”
Thank you so so much for all your help. I’m getting close!
Updating this post with what we ended up doing for anyone looking to do something similar: ie; create account using external form and then logging that user in via the existing account.
In a nutshell, we updated the flow to this:
Payment made on Kajabi, fires a zap to create a user account in adalo
User account has the following info: Email, Username, password (Password is user’s last name)
User comes back to app to login
Log in with email and password
Get’s a pop up that says: please reset your password for better security
Glad that my advices were useful.
In regards to setting the password - as far as I remember, when you create a new user password field should not be empty, otherwise you may experience unexpected behaviour.
I think that this message “user needs to use a different login option” is a consequence of empty password. This may happen in the case when users are created via Apple Signin or Google Signin.
Huge thank you to all your help and advice. It helped get the ideas flowing. Every time the zap creates a user, the password is listed as “[hidden]” So the thought to just map data to it for signin was the final piece to make it all click together. The flow is a lot cleaner too.
Again, thank you so much for all your help. I’ll upload this info to my YT channel if anyone else finds this in the future.
Best,
Christina