Callback Handlers

Learn how to create a callback handler with a code example.

We will continue working on the same OAuth2 example from the previous lesson.

Create a callback handler

Let’s go ahead and create the CallbackServlet.java in the Maven oauth2 directory src/main/java/be/rubus/workshop/oauth2:

Get hands-on with 1200+ tech skills courses.