Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider whether to teach token auth in node unit #27

Open
jrhorn424 opened this issue Nov 23, 2015 · 3 comments
Open

Consider whether to teach token auth in node unit #27

jrhorn424 opened this issue Nov 23, 2015 · 3 comments

Comments

@jrhorn424
Copy link
Contributor

If we use token auth, we can drop session, and we can use curl to test api interactions.

If we teach session, we get the potential to build in oauth. If so, we should probably create and distribute curl commands with cookies.

slack

@gaand
Copy link

gaand commented Nov 25, 2015

I wondered about doing the inverse, using cookie auth in rails-api.
We should definitely pick one and stick with it. But probably should have a discussion about pros/cons.

@jrhorn424
Copy link
Contributor Author

The thing that's sticking out to me right now is whether we should continue to use curl to test routes if we use cookies.

@gaand
Copy link

gaand commented Nov 30, 2015

I take it back. I'll switch the passport lesson to use token auth for the next cohort. They mix it up in the baseline, but token auth definitely comes up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants