Fork me on GitHub

Google App Engine (v4.2)

pac4j allows you to login using the Google App Engine UserService.

1) Dependency

You need to use the following module: pac4j-gae.

Example (Maven dependency):

<dependency>
    <groupId>org.pac4j</groupId>
    <artifactId>pac4j-gae</artifactId>
    <version>${pac4j.version}</version>
</dependency>

2) GaeUserServiceClient

The only available client is the GaeUserServiceClient which must be used in your Google App Engine web applications.

Example:

GaeUserServiceClient client = new GaeUserServiceClient();
client.setCallbackUrl("http://localhost:8080/callback");