---
title: Use a specific journey
description: Configure PingGateway SSO to use a specific PingAM authentication journey instead of the default, by setting the authenticationService in SingleSignOnFilter
component: pinggateway
version: 2024.11
page_id: pinggateway:gateway-guide:proc-sso-authservice
canonical_url: https://docs.pingidentity.com/pinggateway/2026/gateway-guide/proc-sso-authservice.html
llms_txt: https://docs.pingidentity.com/pinggateway/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: 2026-06-02T09:47:34Z
superseded_by: https://docs.pingidentity.com/pinggateway/2026/gateway-guide/proc-sso-authservice.html
---

# Use a specific journey

This page shows how to authenticate with SSO and the example AM authentication journey (tree) instead of the default authentication journey.

1. Set up the example in [Use the default journey](proc-sso.html).

2. Add the following route to PingGateway:

   * Linux

   * Windows

   ```
   $HOME/.openig/config/routes/sso-authservice.json
   ```

   ```
   %appdata%\OpenIG\config\routes\sso-authservice.json
   ```

   ```json
   {
     "name": "sso-authservice",
     "baseURI": "http://app.example.com:8081",
     "condition": "${find(request.uri.path, '^/home/sso-authservice')}",
     "heap": [
       {
         "name": "SystemAndEnvSecretStore-1",
         "type": "SystemAndEnvSecretStore"
       },
       {
         "name": "AmService-1",
         "type": "AmService",
         "config": {
           "agent": {
             "username": "ig_agent",
             "passwordSecretId": "agent.secret.id"
           },
           "secretsProvider": "SystemAndEnvSecretStore-1",
           "url": "http://am.example.com:8088/openam/"
         }
       }
     ],
     "handler": {
       "type": "Chain",
       "config": {
         "filters": [
           {
             "name": "SingleSignOnFilter-1",
             "type": "SingleSignOnFilter",
             "config": {
               "amService": "AmService-1",
               "authenticationService": "Example"
             }
           }
         ],
         "handler": "ReverseProxyHandler"
       }
     }
   }
   ```

   Notice the features of the route compared to `sso.json`:

   * The route matches requests to `/home/sso-authservice`.

   * The `authenticationService` property of SingleSignOnFilter refers to `Example`, the name of the example authentication tree in AM. This authentication tree is used for authentication instead of the AM admin UI.

3. Test the setup:

   1. In your browser's privacy or incognito mode, go to <https://ig.example.com:8443/home/sso-authservice>.

   2. If you see warnings that the site isn't secure, respond to the warnings to access the site.

   3. Note that the login page is different from [Use the default journey](proc-sso.html).
