---
title: IdpSelectionLoginContext
description: Provides the original target URI for the request received by PingGateway. Use this context with loginHandler in AuthorizationCodeOAuth2ClientFilter.
component: pinggateway
version: 2026
page_id: pinggateway:reference:IdpSelectionLoginContext
canonical_url: https://docs.pingidentity.com/pinggateway/2026/reference/IdpSelectionLoginContext.html
revdate: 2024-07-10T14:05:34Z
section_ids:
  properties: Properties
---

# IdpSelectionLoginContext

Provides the original target URI for the request received by PingGateway. Use this context with `loginHandler` in [AuthorizationCodeOAuth2ClientFilter](AuthorizationCodeOAuth2ClientFilter.html).

## Properties

The context is named `idpSelectionLogin` and is accessible at `${contexts.idpSelectionLogin}`. The context has the following property:

* `"originalUri"`: *[URI](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/net/URI.html)*

  The original target URI for the request received by PingGateway. The value of this field is read-only.
