OAuth 2.0 Cookbook

Nonfiction, Computers, Networking & Communications, Computer Security, Operating Systems, Application Software
Cover of the book OAuth 2.0 Cookbook by Adolfo Eloy Nascimento, Packt Publishing
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart
Author: Adolfo Eloy Nascimento ISBN: 9781788290630
Publisher: Packt Publishing Publication: October 18, 2017
Imprint: Packt Publishing Language: English
Author: Adolfo Eloy Nascimento
ISBN: 9781788290630
Publisher: Packt Publishing
Publication: October 18, 2017
Imprint: Packt Publishing
Language: English

Efficiently integrate OAuth 2.0 to protect your mobile, desktop, Cloud applications and APIs using Spring Security technologies.

About This Book

  • Interact with public OAuth 2.0 protected APIs such as Facebook, LinkedIn and Google.
  • Use Spring Security and Spring Security OAuth2 to implement your own OAuth 2.0 provider
  • Learn how to implement OAuth 2.0 native mobile clients for Android applications

Who This Book Is For

This book targets software engineers and security experts who are looking to develop their skills in API security and OAuth 2.0. Prior programming knowledge and a basic understanding of developing web applications are necessary. As this book's recipes mostly use Spring Security and Spring Security OAuth2, some prior experience with Spring Framework will be helpful.

What You Will Learn

  • Use Redis and relational databases to store issued access tokens and refresh tokens
  • Access resources protected by the OAuth2 Provider using Spring Security
  • Implement a web application that dynamically registers itself to the Authorization Server
  • Improve the safety of your mobile client using dynamic client registration
  • Protect your Android client with Proof Key for Code Exchange
  • Protect the Authorization Server from invalid redirection

In Detail

OAuth 2.0 is a standard protocol for authorization and focuses on client development simplicity while providing specific authorization flows for web applications, desktop applications, mobile phones, and so on. This book also provides useful recipes for solving real-life problems using Spring Security and creating Android applications.

The book starts by presenting you how to interact with some public OAuth 2.0 protected APIs such as Facebook, LinkedIn and Google. You will also be able to implement your own OAuth 2.0 provider with Spring Security OAuth2. Next, the book will cover practical scenarios regarding some important OAuth 2.0 profiles such as Dynamic Client Registration, Token Introspection and how to revoke issued access tokens. You will then be introduced to the usage of JWT, OpenID Connect, and how to safely implement native mobile OAuth 2.0 Clients.

By the end of this book, you will be able to ensure that both the server and client are protected against common vulnerabilities.

Style and approach

With the help of real-world examples, this book provides step by step recipes for troubleshooting and extending your API security. The book also helps you with accessing and securing data on mobile, desktop, and cloud apps with OAuth 2.0.

View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart

Efficiently integrate OAuth 2.0 to protect your mobile, desktop, Cloud applications and APIs using Spring Security technologies.

About This Book

Who This Book Is For

This book targets software engineers and security experts who are looking to develop their skills in API security and OAuth 2.0. Prior programming knowledge and a basic understanding of developing web applications are necessary. As this book's recipes mostly use Spring Security and Spring Security OAuth2, some prior experience with Spring Framework will be helpful.

What You Will Learn

In Detail

OAuth 2.0 is a standard protocol for authorization and focuses on client development simplicity while providing specific authorization flows for web applications, desktop applications, mobile phones, and so on. This book also provides useful recipes for solving real-life problems using Spring Security and creating Android applications.

The book starts by presenting you how to interact with some public OAuth 2.0 protected APIs such as Facebook, LinkedIn and Google. You will also be able to implement your own OAuth 2.0 provider with Spring Security OAuth2. Next, the book will cover practical scenarios regarding some important OAuth 2.0 profiles such as Dynamic Client Registration, Token Introspection and how to revoke issued access tokens. You will then be introduced to the usage of JWT, OpenID Connect, and how to safely implement native mobile OAuth 2.0 Clients.

By the end of this book, you will be able to ensure that both the server and client are protected against common vulnerabilities.

Style and approach

With the help of real-world examples, this book provides step by step recipes for troubleshooting and extending your API security. The book also helps you with accessing and securing data on mobile, desktop, and cloud apps with OAuth 2.0.

More books from Packt Publishing

Cover of the book Getting Started with Microsoft Application Virtualization 4.6 by Adolfo Eloy Nascimento
Cover of the book Hadoop Cluster Deployment by Adolfo Eloy Nascimento
Cover of the book JavaScript Unit Testing by Adolfo Eloy Nascimento
Cover of the book ServiceNow Application Development by Adolfo Eloy Nascimento
Cover of the book Microservice Patterns and Best Practices by Adolfo Eloy Nascimento
Cover of the book Learning C++ by Creating Games with UE4 by Adolfo Eloy Nascimento
Cover of the book Implementing DevOps with Ansible 2 by Adolfo Eloy Nascimento
Cover of the book Microsoft Dynamics AX 2009 Administration by Adolfo Eloy Nascimento
Cover of the book C# 7 and .NET Core 2.0 High Performance by Adolfo Eloy Nascimento
Cover of the book JavaScript and JSON Essentials by Adolfo Eloy Nascimento
Cover of the book Building Microservices with JavaScript by Adolfo Eloy Nascimento
Cover of the book Beginning Serverless Architectures with Microsoft Azure by Adolfo Eloy Nascimento
Cover of the book NLTK Essentials by Adolfo Eloy Nascimento
Cover of the book Instant Spring Tool Suite by Adolfo Eloy Nascimento
Cover of the book Everyday Data Structures by Adolfo Eloy Nascimento
We use our own "cookies" and third party cookies to improve services and to see statistical information. By using this website, you agree to our Privacy Policy