January 2018
Intermediate to advanced
336 pages
7h 22m
English
At this point, your skeleton B4 application has session support, but no way to sign in. There are two parts to implementing the authentication flow—the front end and the back end.
On the front end, we need to add buttons so the user can choose the service with which to authenticate. The first step is to install the social buttons for Bootstrap so we can insert them into a template.[90] This module depends on Font Awesome for its icons,[91] so you’ll need to install that too. Use npm for both.
| | $ npm install --save -E bootstrap-social@5.1.1 font-awesome@4.7.0 |
Next, for webpack to find and use these you’ll need to import them into your index.ts file. Add these lines at the top, right after ...
Read now
Unlock full access