#appwrite oauth session doesnot work with NEXT 12.3

9 messages · Page 1 of 1 (latest)

dark wind
#

i tried multipled times but the user doesnot get saved in db

hazy sierra
#

can you share your code and more information on what you're trying to achieve ?

dark wind
#

when the login completes and user gets redirected to home and when i use account.get it dosenot work

wide scroll
dark wind
#

export const Signin = () => {



    const  googleAuth= async(e)=>{
      


 await account.createOAuth2Session('google','http://localhost:3000/home',"http://localhost:3000/login")
        
 
    } ```
wide scroll
dark wind
#

ossry