Getting access token on mobile (Not issue, but a help)
Closed this issue · 1 comments
gamersindo1223 commented
Hi, if you are using a mobile device and can't get c.ai access token let me help you!
- Go to https://c.ai
- Make sure you are logged into your account
- On the URL bar type
java
and paste this textscript:(function() { const c = Object.keys(window.localStorage).map(e=>{if(e.startsWith("@@")) return e}).filter(Boolean); if(!c.length) return alert("You need to login first!");document.documentElement.innerHTML = JSON.parse(window.localStorage[c]).body.access_token })()
- After doing that you should have your entire page cahnged into your access token
- just copy that token
- Tada! Now you have your access token
realcoloride commented
This could be useful for mobile but since its not an issue, its best you make a PR to add this in the README.
Thanks for the suggestion though.