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

Feature: Session in URL für Anmeldung mitgeben #2

Closed
tomtom2401 opened this issue Sep 26, 2018 · 1 comment
Closed

Feature: Session in URL für Anmeldung mitgeben #2

tomtom2401 opened this issue Sep 26, 2018 · 1 comment
Assignees

Comments

@tomtom2401
Copy link

Ist deine Idee verwandt zu einem Problem?
Chromium vergisst manchmal das Passwort.

Beschreibe die Lösung die du dir vorstellst
Man kann der URL des Dashboards über den token parameter die sessionId mitgeben. somit kann man das (einmalige) Anmelden in Chromium übergehen. Weiters ist somit eine sichere Anmeldung gegeben, sollte das Passwort mal "vergessen" werden.

Zusätzliches
siehe: Einsatzmonitor Autologin

Ich hatte das in der ersten Version des Einsatzmonitor TV Controllers so adaptiert:
content = {"username": USERNAME, "password": PASSWORD, "customerId": CUSTOMER_ID} response = requests.post(BASE_URL + "login", json = content) os.system("chromium-browser --noerrdialogs --incognito --start-fullscreen https://dashboard.blaulichtsms.net/#/login?token="+response.json()["sessionId"]+" --disable-translate &")

LG

@stg93
Copy link
Owner

stg93 commented Sep 27, 2018

Danke für den Hinweis. Ich habe schon nach einer Lösung für ein automatisches Login gesucht hatte aber bisher nichts gefunden.

Das Feature ist ab Version v2.1 enthalten.

stg93 pushed a commit that referenced this issue Oct 3, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants