Troubleshooting Plan-to-Plan OIDC Integration

Note: Pivotal Platform is now part of VMware Tanzu. In v1.12 and later, Pivotal Single Sign‑On is named Single Sign‑On for VMware Tanzu Application Service.

Page last updated:

This topic explains how to resolve common errors that can arise when you configure a single sign-on partnership between two Single Sign‑On for VMware Tanzu Application Service service plans, one acting as an Identity Provider (IDP) and one acting as a Relying Party (RP).

A blank service provider login screen

Cause

  • The discovery URL is incorrect or unavailable. No link appears on the login page.
  • This error can occur if you do not enable Skip SSL Connection and the IDP service plan is on an instance that uses a self-signed certificate.

Authorization Request Error

The error message page reads, No client with requested id: ec2f8...
Authorization Request Error. There was an error. The request for authorization was invalid.

Cause

You may have configured your OAuth client ID incorrectly.

401 Unauthorized

The error message page reads, There was an error when authenticating against
the external identity provider: 401 Unauthorized.

Cause

You may have configured your OAuth client secret incorrectly.

405 Method Not Allowed

The error message page reads, HTTP Status 405 ? Method Not Allowed.
Type: Status Report. Message: Request method 'POST' not supported.
Description: The method received in the request line is known by the origin server
but not supported by the target resource.

Cause

  • You may have omitted the openid scope in the IDP configuration on the RP service plan.
  • You may be requesting the wrong scopes or scopes that are not supported by the other Single Sign‑On plan. Confirm that you are only requesting openid scopes.

Cannot determine username with given credentials

The error message page reads, There was an error when authenticating against
the external identity provider: Cannot determine username from credentials supplied.

Cause

The username you used may not have a value mapped to it. In the IDP attributes, map the “username” attribute to “username.”

Invalid redirect

The error message page reads, Invalid redirect https://sp.login.uaa-acceptance.cf-app.com/login/...
did not match one of the registered values.
Authorization Request Error. There was an error. The request for authorization was invalid.

Cause

You may have configured the authorized redirect URI incorrectly. Confirm that your callback URL is entered correctly as an authorized redirect URI for the client configurations on the IDP service plan.