IT WOULDN'T BELEAVE I AM SIGNED IN
google oauth by the way
this with magic link log in
using this
Hey! firstly, please check for these in your project setup:
- Your project endpoint & ID are set before anything else
- Your OAuth redirect URL EXACTLY matches your actual site
- Call
account.get()only after the OAuth redirect finishes - Make sure the domain you’re testing from is added in Appwrite Platform
- Any important cookies are not blocked by your browser
It says you haven't defined ID. Can you please share where in your code you are using this variable?
signinBtn.onclick = async function() { const email = emailInput.value; const token = await account.createMagicURLToken( ID.unique(), email, 'http://127.0.0.1:5501/verfy.html' );
};
so i feel that's a bit stupid question but what is OAuth redirect URL i went to google api services and maid an OAuth 2.0 Client IDs then i got the client id and secret and inputted them in the google auth in the dashboard
Recommended threads
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?
- Upgrading selfhost version?
It is okay to upgrade version to higher one, of my current version is 1.7.4 to 1.8.1. Is that safe to do cause my clients already have data on that? Also is a...
- Streamlit UI and local DB
I want to use Appwrite for automation, like run watchdog service every morning 3 am. Anyone got suggestions, already explored github and documentation no luck. ...