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

[Proposal] Add support for mDNS Discovery and Improved User Flow #26

Open
KazWolfe opened this issue Mar 29, 2024 · 0 comments
Open

[Proposal] Add support for mDNS Discovery and Improved User Flow #26

KazWolfe opened this issue Mar 29, 2024 · 0 comments

Comments

@KazWolfe
Copy link

Sister issue of goatcorp/FFXIVQuickLauncher#1468, and will require that be implemented first.

Instead of requiring the user to configure the IP address of their XIVLauncher installation, support the user of mDNS (and the _xivlauncher service) to automatically discover relevant hosts.

As part of the new sign-in flow:

  1. The user opens the application and is brought to a screen showing a list of all associated accounts and (hidden) MFA codes. A top banner indicates that the application is "Looking for login requests...".
  2. In the background, the application launches a service that scans the local network (via mDNS) looking for the _xivlauncher service. For every computer found, the authenticator will poll GET /totp/status every second to determine if any login attempt is ongoing.
  3. If a valid login request is found, the banner shall be replaced with a message - "Login request from ", with Approve and Deny buttons. Depending on implementation, this may be a pop-up.
  4. Upon user approval, the MFA code will be generated and sent to POST /totp/submit, completing the login flow.

Users will still be able to manually define computers, though TBD as to whether XL should scan these clients.

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

1 participant