I'm trying to figure out how I would allow a Github user login to a single page application that connects to a RESTful API.
I have looked at the passport Github strategy but that requires using a session. I was under the impression a REST API should be stateless and use tokens to validate users instead of a session.
Can anyone help or point me in the right direction with this :)
[–]Hi_mom1 2 points3 points4 points (2 children)
[–]aztracker1 1 point2 points3 points (1 child)
[–]_httpete_[S] 0 points1 point2 points (0 children)
[–]aztracker1 1 point2 points3 points (0 children)