ReCaptcha integration in an KDE application

Johan Ouwerkerk jm.ouwerkerk at gmail.com
Sun Nov 8 21:49:20 GMT 2020


On Sat, Nov 7, 2020 at 10:49 PM Jacky Alcine <yo at jacky.wtf> wrote:
>
> Yeah, I didn't realize most servers require this. I'm guessing that this is part of the OAuth2 flow? If so, it's fine to kick it to the system web browser and add a URL listener (be it a small Web server locally with one endpoint or registering a URL handler to use as the callback URL).
>

I don't think it is part of the OAuth2 flow, given that apparently the
app already works for logging in. I.e. they can already
handle/intercept the redirect of the OAuth resource server and submit
credentials to the OAuth authorization server for obtaining tokens
just fine.

And if that is the case, yeah probably just implement a button which
basically does `xdg-open https://sign-up-url-goes-here`, switch the UI
to a login screen and call it V1 ?

Regards,

- Johan Ouwerkerk



More information about the kde-community mailing list