0

Im configuring RHDH in CRC and in dev in my job

In my local, im facing this issue Login failed; caused by Error: Sign in failed: User not found in the RHDH software catalog. Verify that users/groups are synchronized to the software catalog. For non-production environments, manually provision the user or disable the user provisioning requirement. Refer to the RHDH Authentication documentation for further details.

And in my job is "Login Failed caused by PopupClosedError: Login Failed, popup was closed"

Im using this configMap

    app:
  baseUrl: https://DOMAIN.apps-crc.testing/
backend:
  baseUrl: https://DOMAIN.apps-crc.testing/
auth:
  environment: production
  providers:
    microsoft:
      production:
        clientId: ${AUTH_AZURE_CLIENT_ID}
        clientSecret: ${AUTH_AZURE_CLIENT_SECRET}
        tenantId: ${AUTH_AZURE_TENANT_ID}
        domainHint: ${AUTH_AZURE_TENANT_ID}
        callbackUrl: https://DOMAIN.apps-crc.testing/api/auth/microsoft/handler/frame
        baseUrl: https://DOMAIN.apps-crc.testing/
        signIn:
          resolver: 
            type: custom
            options:
              userIdAnnotation: "microsoft.com/email"
            allowedDomains:
              - microsoft.org
        additionalScopes:
          - Mail.Send
signInPage: microsoft
dangerouslyAllowSignInWithoutUserInCatalog: false
catalog:
  providers:
    microsoftGraphOrg:
      providerId:
        authority: https://login.microsoftonline.com/
        target: https://graph.microsoft.com/v1.0
        tenantId: ${AUTH_AZURE_TENANT_ID}
        clientId: ${AUTH_AZURE_CLIENT_ID}
        clientSecret: ${AUTH_AZURE_CLIENT_SECRET}
        user:
          filter: accountEnabled eq true

Permissions for App Registration Im using the secrets correctly and in Redirect URL in Azure im using this permissions and Redirect URL for app registration

The documentatios is not much and i dont know how to add user or groups in catalog

1
  • To resolve the "User not found in the RHDH software catalog" issue, you need to either synchronize users/groups with the catalog or manually provision them. For the "PopupClosedError," ensure that your redirect URI and authentication settings in Azure AD are correctly configured, and check if pop-up blockers are interfering. Commented Dec 5, 2024 at 6:52

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.