Summary

Voila! We just secured our Web API using the external authentication mechanisms.

In this chapter, you learned about OWIN external authentication and how to use it in order to secure our Web API.

You also learned how to register as a developer on external authentication services such as Facebook, Twitter, Google, and Microsoft and create an application there to get client ID and secret key and consumer ID and secret key respectively.

Then you learned how to configure the ID and secret keys that are copied from external authentication services in our source code in order to implement the external authentication in our application.

Finally, we ran the application and saw the working of external authentication in action.

In the next chapter, let's ...

Get ASP.NET Web API Security Essentials 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.