Skip to content

Run oidc-keys-add role only if cas >= 6.5 #758

@vjrj

Description

@vjrj

If you try to install a previous version, you get a:

...Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: No enum constant org.apereo.cas.services.RegisteredServiceMultifactorPolicy.FailureModes.UNDEFINED>

that you can workaround via:

# grep cas-service /data/cas/config/application.yml # Search for your password
# mongo -u services cas-service-registry # type the  password here
> db.services.remove({"description":  { "$regex": ".*OIDC Service.*"}});
Ctrl-D
# service cas restart

More info: https://atlaslivingaustralia.slack.com/archives/CCTFGEU1G/p1703761335361729

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