Identify the User
Using the Java SDK
Identify the User (back to all tutorials)
Before locating a Veriplace user, you must first obtain the identifier for them. While your application can save identifiers for known users, initially it will need to use the User Discovery API.
This tutorial will show you how to use the User Discovery API to have the current user sign-in to the Veriplace Privacy Manager. It is also possible to query a user's identifier in some cases.
-
Step 1: Redirect to Veriplace
Your application specifies a callback URL and redirects the current user to Veriplace where they will be prompted to sign-in or otherwise identify themselves:
-
Step 2: Handle callback
Subsequently, Veriplace redirects the user back to the specified callback URL. As long as you have configured a Servlet to handle this URL, you can check that the current request is a callback and query the user: