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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.