---
title: IdpSelectionLoginContext
description: Provides the original target URI for the request received by IG. Use this context with loginHandler in AuthorizationCodeOAuth2ClientFilter.
component: pinggateway
version: 2023.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: 2023-09-11T14:29:39Z
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 IG. Use this context with `loginHandler` in [AuthorizationCodeOAuth2ClientFilter](Filters.html#AuthorizationCodeOAuth2ClientFilter).

## 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 IG. The value of this field is read-only.
