Search⌘ K
AI Features

Configure OAuth2 Provider

Explore the step-by-step process to configure an OAuth2 provider for your JakartaEE application. Understand how to register your app in the Google Cloud Console, set up the OAuth consent screen, define user scopes, and obtain the necessary ClientId and ClientSecret to enable secure authentication.

We'll cover the following...

Overview

As mentioned in the lesson “OAuth2,” we need to register our application with the authorization server (Google, in our case). Since the passage of General Data Protection Regulation (GDPR) legislation, the world is paying a lot more attention to privacy and data protection. For this reason, Google requires that they verify your application before it can be used in production. This verification process ensures that the application uses user data responsibly, such that the user can be sure that their data won’t be abused.

Note: The OAuth2 setup in this lesson assumes that you already have ...