Skip to content
This repository has been archived by the owner on Oct 17, 2019. It is now read-only.

Register not possible #264

Closed
amittel opened this issue Mar 8, 2018 · 5 comments
Closed

Register not possible #264

amittel opened this issue Mar 8, 2018 · 5 comments
Labels

Comments

@amittel
Copy link

amittel commented Mar 8, 2018

System:

  • Nheko commit/version: 0.2.0
  • Operating System: Win10 x64
  • Qt version:
  • C++ compiler:
  • Desktop Environment:

Actual behavior

New to Matrix and wanted to register. Filled out the form and hit register. But I get an error like "Host requests an authentication" and nothing happens.
As home server I used matrix.org

Expected behavior

Register and start exploring.

Steps to reproduce

Try to register.

Debugger traceback

@mujx mujx added the future label Mar 8, 2018
@mujx
Copy link
Owner

mujx commented Mar 8, 2018

Registration doesn't work on matrix.org, because it requires you to fill a captcha which isn't currently possible to be done through nheko. You would have to register through Riot.

@anoadragon453
Copy link

@mujx Have you seen the fallback API which allows you to direct a user to a page on the homeserver in a web browser where they will complete the ReCaptcha step?

@mujx
Copy link
Owner

mujx commented Mar 12, 2018

@anoadragon453 I don't see how it's possible to get that to work without embedding a webview.

@anoadragon453
Copy link

The session ID is returned as part of the call to /register.

Thus if the server responds with a register flow containing a stage requiring a webview (such as m.login.recaptcha) then you'd just open the default web browser on the device and point it to /_matrix/client/r0/auth/m.login.recaptcha/fallback/web?session=<session ID>.

Then have a button for "I did it" and try the registration again.

@mujx
Copy link
Owner

mujx commented Mar 12, 2018

Thanks @anoadragon453, that seems easy enough.

@mujx mujx closed this as completed in 4659d0e Mar 12, 2018
vurpo pushed a commit to vurpo/nheko that referenced this issue Jun 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants