Skip to content

AbstractAuthenticationConfiguration incorrectly sets the getLinkText property as Boolean instead of String #1299

@SaifuddinMerchant

Description

@SaifuddinMerchant

AbstractAuthenticationConfiguration incorrectly sets the getLinkText property as Boolean instead of String

When running the integration test locally, I get an error -

https://github.com/cloudfoundry/cf-java-client/blob/main/cloudfoundry-client/src/main/java/org/cloudfoundry/uaa/identityproviders/AbstractAuthenticationConfiguration.java#L42-L47

Caused by: com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type java.lang.Boolean from String "Login with Provider xyz": only "true" or "false" recognized
at [Source: (byte[])"[{"type":"oidc1.0","config":{"emailDomain":null,"additionalConfiguration":null,"providerDescription":null,"externalGroupsWhitelist":

According to the specs this property should be a String not a Boolean
https://docs.cloudfoundry.org/api/uaa/version/77.34.0/index.html#oauth-oidc

Image

P.S. The show link text is correct and should be a boolean
https://github.com/cloudfoundry/cf-java-client/blob/main/cloudfoundry-client/src/main/java/org/cloudfoundry/uaa/identityproviders/AbstractAuthenticationConfiguration.java#L69-L75

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions