---
title: IdpSelectionLoginContext
description: Provides the original target URI for the request received by PingGateway. Use this context with loginHandler in AuthorizationCodeOAuth2ClientFilter.
component: pinggateway
version: 2025.9
page_id: pinggateway:reference:IdpSelectionLoginContext
canonical_url: https://docs.pingidentity.com/pinggateway/2026/reference/IdpSelectionLoginContext.html
llms_txt: https://docs.pingidentity.com/pinggateway/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
superseded_by: https://docs.pingidentity.com/pinggateway/2026/reference/IdpSelectionLoginContext.html
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/21/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.
