Adding Authentication UI Elements
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 ...
Get Node.js 8 the Right Way now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.