Coder Social home page Coder Social logo

Comments (5)

chriseidhof avatar chriseidhof commented on July 17, 2024

Ah yeah! Well, this view controller doesn't do much, you need to set the github token... just add it in Credentials.swift. Would be great to have 2FA support, would you mind making a pull request for that?

from github-issues.

esttorhe avatar esttorhe commented on July 17, 2024

I would love to :)

Actually I finished watching your presentation at Swift Summit not 1 hour ago and I thought about submitting a PR for this.

Will try to do so before EOD today or during the weekend 👊

from github-issues.

neilpa avatar neilpa commented on July 17, 2024

FYI - you can create personal access token and use that as your password. You don't actually need to support 2FA directly.

from github-issues.

esttorhe avatar esttorhe commented on July 17, 2024

@neilpa I have set the access token

after setting up my token the app loads a view controller

But I found out the issue; the code in master has this:

//let baseURL = NSURL(string: "https://api.github.com")!
let baseURL = NSURL(string: "http://localhost:4567")!

So it was trying to connect to a dev server; uncommenting the correct line makes it work as expected 🙇


Edit:
I'm going to leave this issue open because I'm planning on supporting 2FA anyways to learn more about this experiment of Functional View Controllers.

Feel free to 🚫 this if you want though

from github-issues.

chriseidhof avatar chriseidhof commented on July 17, 2024

Okay, I'm gonna close this, please open a PR once you start working on 2FA =)

from github-issues.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.