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

No tokens available #139

Closed
bazhenberg opened this issue Jan 26, 2024 · 8 comments
Closed

No tokens available #139

bazhenberg opened this issue Jan 26, 2024 · 8 comments

Comments

@bazhenberg
Copy link

Hello! I have lost the Token ID and the token itself. At the same time, I am still an authorized user.
Screenshot_16

@realcoloride
Copy link
Owner

Try going in the home page (https://beta.character.ai/) and checking localstorage.

@bazhenberg
Copy link
Author

2 PNG

@realcoloride
Copy link
Owner

I'm not quite sure what is happening here..
Could you try logging in on Chrome and see instead?

But here is a lackluster solution that could help if switching to Chrome (or similar) doesn't work:

Step 1. Open a new tab.
Step 2. Open developer tools and go to the network tab.
Step 3. Make sure the requests are being recorded then click Fetch/XHR.
image
Step 4. Open up CharacterAI.
Step 5. Go in Application > search for the char_token key.
image
Step 6. If you see it, right click it and delete it. This will ensure to log your session off to generate a new token.
image
Step 7. Head back to the network tab.
Step 8. Refresh the page.
Step 9. Locate the auth0/ endpoint request.
image
Step 10. Examine the request. From there you will have an access_token and id_token. Right click to individually copy the access OR id token.
image

Good luck.

@Edenyaw
Copy link

Edenyaw commented Jan 29, 2024

I'm not quite sure what is happening here.. Could you try logging in on Chrome and see instead?

But here is a lackluster solution that could help if switching to Chrome (or similar) doesn't work:

Step 1. Open a new tab. Step 2. Open developer tools and go to the network tab. Step 3. Make sure the requests are being recorded then click Fetch/XHR. image Step 4. Open up CharacterAI. Step 5. Go in Application > search for the char_token key. image Step 6. If you see it, right click it and delete it. This will ensure to log your session off to generate a new token. image Step 7. Head back to the network tab. Step 8. Refresh the page. Step 9. Locate the auth0/ endpoint request. image Step 10. Examine the request. From there you will have an access_token and id_token. Right click to individually copy the access OR id token. image

Good luck.

Hey,
I can't find the tokens like the author and I tried doing what you wrote here but I can't find the auth0/ in the network tab still.. it's a bit weird because I've had them before, then I logged out and logged back in and I haven't been able to see them there since then.. I wonder why
I tried doing the same on chrome and still nothing..
hope you have a good day sorry for bothering!

@realcoloride
Copy link
Owner

Hello, I don't really know how to help you here then.
Make sure you are on the home page (https://beta.character.ai/) and you delete the char_token key and continue with the steps.

@Edenyaw
Copy link

Edenyaw commented Jan 29, 2024

Hello, I don't really know how to help you here then. Make sure you are on the home page (https://beta.character.ai/) and you delete the char_token key and continue with the steps.

Ye I made sure but nothing unfortunately
Thank you anyways appreciate it!

@realcoloride
Copy link
Owner

No problem, and again I'm sorry. If really needed, try changing to another browser, or try getting the token in network requests and hardcoding it from source but since they expire its not super long term.

Good luck again.

@realcoloride
Copy link
Owner

Hi there, check out #146

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