# OneLogin

Log in to your OneLogin account and head to the dashboard.

# Create OpenID Connect App

Click Apps on the top menu. Select the Add apps menu item.

One Login Add a New App

On the Find Application page, search for openid. Select Openid Connect by OneLogin, Inc.

One Login Add a New App

On the App Configuration page, name the app and select a logo. Select Save.

One Login select logo

Next, set set the Redirect URI's setting to be Pomerium's redirect url https://${AUTHENTICATE_SERVICE_URL}/oauth2/callback.

One Login set callback url

Go to the SSO page. This section contains the Client ID and Client Secret you'll use to configure Pomerium.

Set the application type to Web and the token endpoint to be POST.

Under Token Timeout settings set Refresh Token to 60 minutes (or whatever value makes sense for your organization). Note, however, if you don't enable refresh tokens the user will be prompted to authenticate whenever the access token expires which can result in a poor user experience.

One Login SSO settings

# Groups

Group membership will be fetched using a follow up HTTP API call using your CLIENT_ID and CLIENT_SECRET as credentials. A Group's ID will be used to affirm user group membership.

# Pomerium Configuration


After reloading Pomerium, you should be able to see any login events from your OneLogin events dashboard.

One Login Events Dashboard