My goal is to create a login and log out page for my html website how can I go and do this?
Hey, I highly recommend looking at these projects:
If this answered your question, please click the “solution” button at the bottom of this post to mark this as solved.
I am desperately trying all of these examples and none of them work the first 1 being the most broken the authflow is just a button that I put the redirect to my home page and that allows me to sign in an infinite number of times so I’m very confused. The third option just wont let me even sign on or make an account for some reason.
Hello, Zarran API dev here!
I’ll see if I can figure it out. Post some reproduction steps. I’m here to help!
So far, it looks like you tried to make an account with Authflow. Just to check, you used the Authflow button at the top?
If you’re creating a normal account, you didn’t put anything in the boxes.
After a very swift documentation check: User already exists.
Use the login button. Don’t make an account.
Also, for a better example, check out https://crowdcards.glitch.me, my TCG which uses a modified Zarran API Lite for it’s backend.
unrelated is crowd cards like a pokemon card game where you make your own cards and use them to battle other players where cards have a max damage and hp for specific levels?
somehow i got the example to do this lol im personally very confused but it worked so now I gotta try on my phone to see what the blazes got it to work after me randomly doing stuff lol
Alright I have been able to recreate the error so I can explain the error in more detail the Login with Authflow create button is what causes the error i previously posted first I clicked on the button then it says Authflow available for use! I click Create user (Authflow) then I get An error occured! Error: 002-0002 login and create is also very buggy as the login button needs to be spammed click for me to login and I’m still not sure whats logging me in yet. Edit: the spam clicking is more like a massive delay that I just now am noticing lol. Edit Edit: Tried on a new email and was able to make an account but not login out here bugging testing like wild lol edit edit edit: the error is from it already having an account make with that gmail. But refuses to log me in
Okay here’s a tip. Or many.
I just rebought Glitch Pro so I didn’t boost the project yet. That means sometimes the API is (sadly) offline and you need to wait for it to start.
You can’t make an Authflow account when one already exists. You had one already.
I didn’t code Authflow logins yet
002-0002 (according to the documentation at https://zarran-api.glitch.me, DOCUMENTATION.md) means that an account already exists with that username or email.
Hope this clears everything up. Have fun with Zarran API!
(CrowdCards is basically a bit like Pokemon but you make the cards. I directed you to it since it uses Zarran API Lite as it’s backend.
alright thank you for responding
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.