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

OidcClientConfigurationBuilder: false validation error

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: