Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vjrj opened this issue Dec 28, 2023 · 0 comments
Open

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

vjrj opened this issue Dec 28, 2023 · 0 comments

Comments

@vjrj
Copy link
Collaborator

vjrj commented Dec 28, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant