Book Image

Ionic Cookbook

By : Hoc Phan
Book Image

Ionic Cookbook

By: Hoc Phan

Overview of this book

Table of Contents (18 chapters)
Ionic Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Creating a LinkedIn app and configuring authentication in Auth0


Firebase does not support LinkedIn natively, but it does allow the creation of a custom token. This method is used mainly when the authentication mechanism is actually performed somewhere else, either on your own server or another SaaS provider. In this case, you will be using Auth0 to provide the LinkedIn authentication. You could have performed the Facebook, Twitter, or Google authentication via Auth0 as well. However, it's recommended to use Firebase as much as possible as it's simpler to use. This is not only due to cost-related reasons, but also for the reduction of the number of integration points and code complexity.

Getting ready

Account registration is required for Auth0, Firebase, and LinkedIn in order to perform the steps in this recipe.

How to do it...

You need to configure your app in Auth0 first by performing the following steps:

  1. Sign up for an Auth0 account and navigate to https://manage.auth0.com/.

  2. You will see the...