Implicit flow

Let's start with implementing our implicit flow. Here's a brief list of what we need to do:

  • Add a Facebook() action method to our existing TokenController where we'll use the access token to fetch the user data from the Facebook API and use it to perform the login or registration accordingly
  • Create a login.facebook.ts component--and its .html template file--to load the Facebook SDK in our Angular SPA and create the required UI stuff

Get ASP.NET Core 2 and Angular 5 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.