Ch 23 Github Authentication Mobile App Integration?

Hi, I was wondering about how to implement the mobile app version of this chapter since the book only showed how to do the web version only
Thanks in advance

Hi,

The mobile app for this is slightly more complicated but not too much more. There’s been some recent work in Imperial to allow access with APIs as well now. Here’s an example of an API doing it GitHub login by rafiki270 · Pull Request #21 · LiveUI/ApiCore · GitHub

But basically instead of returning a Leaf view, you return a JSON response to the API, such as the GH access token for the client to save

1 Like