Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-8369

Can't remove an OIDC claims script in a realm which does not have OAuth2 Provider service assigned

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 13.0.0
    • Fix Version/s: None
    • Component/s: scripting
    • Labels:
      None

      Description

      Steps to reproduce:

      • create a new OIDC claims script
      • make sure you do not have an OAuth2 provider in that realm configured
      • try to delete the OIDC claims script

      The REST endpoint will return an empty response and there will be no debug entries about the failure at all. After debugging this, it looks like that the script data store tries to make sure that the script to be deleted is not being referenced by the OAuth2 provider, however this check does not really take into account the situation when you don't have a provider configured in the realm.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              peter.major Peter Major [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: