MintApps/client
11
21
Fork
You've already forked client
3

SyncServer - Vermeiden mehrfacher Logins #247

Closed
opened 2024年05月19日 18:19:38 +02:00 by tk100 · 1 comment
Owner
Copy link

Für den Fall, dass ein SyncServer mit Passwort-Authentifizierung installiert ist, muss sich der Nutzer bei jedem Quiz etc. neu anmelden, das er starten möchte. Einfacher wäre es, wenn zwischen Server und Client eine Session vereinbart wird. Folgende Schritte sind angedacht:

  • Auslagern des Logins (aktuell Teil mehrerer Komponenten) in eine Komponente, die als modaler Dialog eingeblendet wird (inklusive neuer Info-Texte)
  • Erstellen eines Session-Tokens auf dem SyncServer nach erfolgreicher Authentifizierung (mit begrenzter Gültigkeit)
  • Verwalten von UserName und Token in einer globalen Variable auf dem Client, nicht jedoch als Cookie (da sonst eine entsprechende Erklärung notwendig würde)
  • Integration eines Login / Logout-Buttons im Menu
  • Ausführliche Tests

Hinweis: Dies betrifft nicht die Nutzer von kippenbergs.de, da in dieser Instanz auch anonyme SyncSessions erlaubt sind

Für den Fall, dass ein SyncServer mit Passwort-Authentifizierung installiert ist, muss sich der Nutzer bei jedem Quiz etc. neu anmelden, das er starten möchte. Einfacher wäre es, wenn zwischen Server und Client eine Session vereinbart wird. Folgende Schritte sind angedacht: - [x] Auslagern des Logins (aktuell Teil mehrerer Komponenten) in eine Komponente, die als modaler Dialog eingeblendet wird (inklusive neuer Info-Texte) - [x] Erstellen eines Session-Tokens auf dem SyncServer nach erfolgreicher Authentifizierung (mit begrenzter Gültigkeit) - [x] Verwalten von UserName und Token in einer globalen Variable auf dem Client, nicht jedoch als Cookie (da sonst eine entsprechende Erklärung notwendig würde) - [x] Integration eines Login / Logout-Buttons im Menu - [x] Ausführliche Tests Hinweis: Dies betrifft nicht die Nutzer von kippenbergs.de, da in dieser Instanz auch anonyme SyncSessions erlaubt sind
tk100 added this to the 1.4.0 milestone 2024年06月03日 16:22:17 +02:00
tk100 changed title from (削除) Idee: Session mit SyncServer - Vermeiden mehrfacher Logins (削除ここまで) to SyncServer - Vermeiden mehrfacher Logins 2024年06月11日 07:46:22 +02:00
Author
Owner
Copy link
https://codeberg.org/MintApps/client/commit/1e609f1a07aa27ecc310d456bbb9dfba41a212de
Sign in to join this conversation.
No Branch/Tag specified
main
2.2.0
2.1.0
2.0.0
1.4.0
1.3.0
1.20
1.2.0
1.1.0
1.0.0
0.5.3-1
0.5.3
0.5.2
0.5.1
0.5.0
0.4.3
0.4.2
0.4.1
Labels
Clear labels
ask the fediverse comm.
Ask the Fediverse Community over the MintApp-Mastodon-Account.
Component: Client
Issue regarding the (optional) server component.
Component: Server
Issue regarding the (optional) server component.
Kind: Not reproducible
Kind: Accessibility
Kind: Breaking
Kind: Bug
Something is not working
Kind: Documentation
Documentation
Kind: Enhancement
New feature
Kind: Extension
Extension of an existing MintApp.
Kind: Inclusivity
Kind: Maintenance
Kind: Security
Relevant for security.
Kind: UI/UX
Related to UI/UX.
meta
organisational issues
Priority: Critical
This issue has a critical priority
Priority: High
This issue has a high priority.
Priority: Low
This issue has a low priority.
Priority: Medium
This issue has a medium priority
question
More information is needed
Reviewed: Duplicate
This issue or pull request already exists
Reviewed: Invalid
Something is wrong
Reviewed: Won't fix
This won't be fixed
Shelved for lack of staff capacity
It's not that we do not want it done, it's just that we do not have time to do it.
Status: Completed
Status: Contribution welcome
good for new people who would work at MintApps.
Status: help wanted
Need some help
Status: In review
Status: Next Release
Status: Privacy legal clarification
Need for legal clarification w/ regard to privacy
Status: Tests needed
Need tests upcoming features.
Status: Work in progress (wip)
work in progress (wip)
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MintApps/client#247
Reference in a new issue
MintApps/client
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?