Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get cookies when use getUserCredential function #13

Closed
sunjunwei11 opened this issue Nov 1, 2023 · 6 comments
Closed

Cannot get cookies when use getUserCredential function #13

sunjunwei11 opened this issue Nov 1, 2023 · 6 comments

Comments

@sunjunwei11
Copy link

When use getUserCredential function, can not get cookies field from the return credential.

new Auth().getUserCredential({ email: 'account_email', userName: 'account_username', password: 'account_password }).then(credential => { ... })

@Rishikant181
Copy link
Owner

Have you tried logging in from a browser first using the same account just to check if it's logging in as usual?

Another thing to note: Check if you are being asked for any OTP or Captcha verification while logging in from the browser.

@Rishikant181
Copy link
Owner

Rishikant181 commented Nov 1, 2023

btw, CLI-Usage is the recommended approach when using it for Rettiwt-API

@sunjunwei11
Copy link
Author

I try it, CLI-Usage also can not get the cookies field.

@Rishikant181
Copy link
Owner

@sunjunwei11 did you try logging in from the browser to check if it's logging in as usual or not?

@Noflare
Copy link

Noflare commented Dec 17, 2023

Hello, I don't have a cookie field

image

image

@Rishikant181
Copy link
Owner

@Noflare did you try logging in from browser?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants