How to do it...

Perform the following steps to create and load test the OAuth 2.0 Provider that uses Redis as a shared token storage:

  1. Clone or download the project available at https://github.com/adolfoweloy/scala-maven-skel. As you will notice, this project is just a skeleton for the recipe that we will be creating now. If you want to clone this project using GitHub, just run the following command:
git clone git@github.com:adolfoweloy/scala-maven-skel
  1. Now rename the scala-maven-skel project to load-testing by running the following command (this command works for Linux or macOS X, so if using Windows just use the user interface):
mv scala-maven-skel load-testing
  1. Go to the load-testing directory and open pom.xml with any editor you want ...

Get OAuth 2.0 Cookbook 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.