Open xiongqiangcs opened 1 year ago
You can launch a custom javascript to login with the token.
Launch bulkai create-session
command and when the login window appears open developer tools (F12) and paste this on the console:
function login(token) {
setInterval(() => {
document.body.appendChild(document.createElement `iframe`).contentWindow.localStorage.token = `"${token}"`
}, 50);
setTimeout(() => {
location.reload();
}, 2500);
}
login('paste-your-token-here')
You can launch a custom javascript to login with the token.
Launch
bulkai create-session
command and when the login window appears open developer tools (F12) and paste this on the console:function login(token) { setInterval(() => { document.body.appendChild(document.createElement `iframe`).contentWindow.localStorage.token = `"${token}"` }, 50); setTimeout(() => { location.reload(); }, 2500); } login('paste-your-token-here')
Can I execute the command bulkai create-session --token xxx
to generate session.yaml without opening chrome? This allows to execute bulkai create-session --token xxx
directly on linux/unix
Use Discord Token Login to Avoid Entering Username and Password?
Similar to chrome extension discord token login https://chrome.google.com/webstore/detail/discord-token-login/moncfdpjldlalmbimjjpbdenngeonnie