Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-2323

OidcClientConfigurationBuilder: false validation error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • None
    • None
    • None

    Description

      This check is wrong:

      if (realmKeyPem == null && oidcJsonConfiguration.isBearerOnly()
        && (oidcJsonConfiguration.getAuthServerUrl() == null || oidcJsonConfiguration.getProviderUrl() == null)) {
       throw log.invalidConfigurationForBearerAuth();
      }
      

      It fails when using bearer-only and either auth-server-url or provider-url, which is valid.

      Attachments

        Issue Links

          Activity

            People

              fjuma1@redhat.com Farah Juma
              foobartender S E (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: