Rank 2: Process
i tried multipled times but the user doesnot get saved in db
Votes
1
Replies
9
Participants
Unknown
Messages
10
Rank 2: Process
i tried multipled times but the user doesnot get saved in db
can you share your code and more information on what you're trying to achieve ?
Rank 2: Process
import { account } from "../appwrites";
`export const Signin = () => {
const googleAuth= async(e)=>{
await account.createOAuth2Session('google','http://localhost:3000/home',"http://localhost:3000/login")
}`
Rank 2: Process
when the login completes and user gets redirected to home and when i use account.get it dosenot work
Admin
FYI, it's best to wrap code in backticks to format a bit nicer. You can use 1 backtick for inline code (https://www.markdownguide.org/basic-syntax/#code) and 3 backticks for multiline code (https://www.markdownguide.org/extended-syntax/#syntax-highlighting.
Rank 2: Process
export const Signin = () => {
const googleAuth= async(e)=>{
await account.createOAuth2Session('google','http://localhost:3000/home',"http://localhost:3000/login") } ```Admin
Admin
Isn't this the same as https://discord.com/channels/564160730845151244/1111201523058364456? if so, please don't create duplicate posts. It's best to just continue in the same thread
Rank 2: Process
ossry
Rank 2: Process
sorry