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
- AstroJS Not Listed as a Web Framework Op...
Hey folks, as a followup to this post https://discord.com/channels/564160730845151244/1102936099745177700/1440603125642952734 I was trying to see if there was a...
- Database table mysteriously empty this m...
Hello, I'm testing out appwrite (free) with a simple vue app. This morning a I created a few indexes on a table, and then noticed that it was empty... I don't e...
- Issue: Getting 401 Unauthorized Error Wh...
Hi team, I'm encountering a 401 user_unauthorized error when trying to create a row in my projects table, even though I have full user permissions configured fo...