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
- Auth broken after update from 1.8.0 to 1...
So ive been having issues creating, deleting or updating users on my appwrite instance after i updated from 1.8.0 to version 1.9.0. When trying to create a user...
- Magic Link woes/noob
Magic Link is working; it sends the link to my email. But the link itself always leads to "Page Not Found. The page you're looking for doesn't exist". Clicking ...
- is `account.get()` safe to be used in th...
I want to user's `id` for authentication. However, a while ago I was told in this server not to use `account.get()` and instead add user preferences for that us...