---
title: IdpSelectionLoginContext
description: Reference for IdpSelectionLoginContext, which exposes the original target URI of requests received by PingGateway
component: pinggateway
version: 2024.11
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
revdate: 2026-06-02T09:47:34Z
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/17/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.
