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
- How to Display File in Web?
I'm trying to use Appwrite's Storage to store images and display them in my app, however when I use the `getFileView`, `getFileDownload` or `getFilePreview` met...
- Project Paused Despite Daily Active Usag...
I noticed that my project was automatically **paused**, even though it is actively being used. The project is an **attendance application** that is used daily b...
- Sudden CORS Errors - Domain hasn't Chang...
I have an Appwrite project with two web apps configured, the first one has the hostname `*` and the second one I just added to test if it could fix the issue wi...