Thank you for reading my blog posts, I am no longer publishing new content on this platform, you can find my latest content on my personal site - mainawycliffe.dev

Articles and Lessons tagged with Authentication

Role Based Authorization in Angular – Route Guards

Role Based Authorization in Angular – Route Guards

Posted Sep 28, 2018 | | By Maina Wycliffe | Angular
In this post, we are going to use Route Guards to determine which user can and can not access certain pages. It is common to have multiple user roles such as guest, author, editor, admin for a blogging site such as this one. Therefore, it is …
Read More

Refreshing Authorization Tokens – Angular 6

Refreshing Authorization Tokens – Angular 6

Posted Aug 22, 2018 | | By Maina Wycliffe | Angular
In this post, we are going to build a http interceptor for refreshing authorization tokens once expired. The idea here is to be able to intercept http requests, attach an authorization header to the request. And to intercept http response, check for …
Read More

Implementing Login with Facebook with Angular and REST API

Implementing Login with Facebook with Angular and REST API

Posted Feb 6, 2018 | | By Maina Wycliffe | Angular
Today, I am going to show you how to create an Angular App with a REST API that uses Facebook Login to sign in/up users. For this application, we are going to be using PHP in our backend, but this can work with any Framework or Language for the …
Read More

Angular 5 – Handling Token Based Authentication

Angular 5 – Handling Token Based Authentication

Posted Nov 9, 2017 | | By Maina Wycliffe | Angular
Token based authentication is popular for single page applications. A token is a security code issued by a server for authenticating and identifying users. When a user login to the system or application, the servers issues a token that expires after …
Read More