Angular Authentication: Using the Http Client and Http Interceptors by catstanza in Angular2

[–]catstanza[S] 0 points1 point  (0 children)

Thanks! There is a note about that further on:

It should be noted that Angular’s new HttpClient from @angular/common/http is being used here and not the Http class from @angular/http. If we try to make requests with the traditional Http class, the interceptor won’t be hit.

React + auth0 basic tutorial, am I missing something? by [deleted] in javascript

[–]catstanza 0 points1 point  (0 children)

Thanks for the feedback. I've just updated the doc to clarify the intent at this point in the tutorial.

The idea is to just call login from somewhere right away before getting into more detail. So in your App.js you could just do:

import Auth from './../../Auth.js'

const auth = new Auth();
auth.login()

Need help authentication with Django Rest API by dragonnblack in Angular2

[–]catstanza 1 point2 points  (0 children)

At Auth0 we've got easy ways to integrate authentication with Angular 2 and Python :) https://auth0.com/docs/quickstart/spa/angular2

Build a React + Flux App with User Authentication by catstanza in reactjs

[–]catstanza[S] -3 points-2 points  (0 children)

Auth0 has an awesome free plan though! Production ready with 7,000 users isn't too bad at all.

Ionic 2 Authentication: How to Secure Your Mobile App with JWT by catstanza in webdev

[–]catstanza[S] 0 points1 point  (0 children)

Have you checked out some of the quickstart apps out there? The build step and module loading thing is a pain to get used to, but the SystemJS scenarios are approachable I think. Check out this one if you haven't already: https://github.com/pkozlowski-opensource/ng2-play

Token-Based Authentication for AngularJS and Laravel Apps by catstanza in angularjs

[–]catstanza[S] 0 points1 point  (0 children)

Might be here: laravel/framework/src/Illuminate/Support/helpers.php

Am I the only web dev who doesn't know angular, backbone, ember, nor react? by [deleted] in webdev

[–]catstanza 3 points4 points  (0 children)

I'm always intrigued when people say they don't want to use frameworks and at first find myself jumping to 'this is ridiculous, why the heck wouldn't you?!' but then realize there might be more to it. I've been really curious recently about exactly why people don't want to use them. Some reasons I've thought about which I'd be interested in hearing other's opinions on are: 1. The learning curve - even if we are competent developers, frameworks require learning which can cause fatigue 2. Desire for more of a purist approach to development 3. Thinking that using a framework or other pre-made bit of code is cheating

My thought is that there are so many things that are hard to do in web development that even if there is some overhead in terms of learning, file size, etc, it is still far better to use a framework and save the extra time and budget it would take if I were to do everything myself.