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
- Request for JWKS Endpoint and OIDC Disco...
Hey Appwrite Team, Do you have plans to support JWKS and a well-known OIDC discovery endpoint? This would let us verify Appwrite JWTs in other services using st...
- Sites are not opening
my all sites are not opening so plz check what is the issue, when i am opening the sites showing an error like, Access to XMLHttpRequest at 'https://cloud.appw...
- unable to create project with custom id
when creating a project, and click on project ID button, nothing happens. is this a bug?