Questions tagged [apereo]
49 questions
4
votes
0 answers
Apereo CAS load user attributes in two steps and store them for attribute release
In our Apereo CAS 5.3.8 protected application we need to display after login a screen which shows a dropdown with some values from which the user must select one option. The screen needs to be shown only if certain conditions are met, depending on…

virgium03
- 627
- 1
- 5
- 14
3
votes
0 answers
CAS 6.2.2 doesn't work with token (JWT) as one of auth factors (MFA-U2F)
I'm trying to get a response from a REST method in my service (https://jwt.test.local:8443/Site/rest/user/getCurrent) using JWT (passing it in headers like token:eyJjdHkiOiJKV1QiL...).
If CAS doesn't use U2F (remove cas.properties…

Vlad3d
- 31
- 2
2
votes
1 answer
Enabling Different Login Options to Work Concurrently in Apereo CAS
I've installed Apereo CAS on a server and have Enabled Normal Login Form and QR Authentication together, Now i want to add Password Less Login to the other two as a third option for users to use when they Login, but CAS Login Page only shows the…

Bardia
- 21
- 2
2
votes
1 answer
Getting apereo/cas in docker to authenticate from whitelist
Running apereo/cas docker container with the following command
docker run -p 8443:8443 -v /root/cas/config:/etc/cas/config -d apereo/cas:v6.2.4
/root/cas/config/cas.properties file is on host…

karanbagh
- 69
- 8
2
votes
1 answer
how to include authenticated user's roles in JWT?
i have configured CAS as OAuth2 server. After successfull login, it returns JWT, but roles field in JWT is always empty like;
{
"sub": "dg",
...
"roles": [],
"nonce": "",
"client_id": "first-client",
"credentialType":…

denizg
- 828
- 9
- 18
1
vote
3 answers
Apereo CAS Login Error about java.security.InvalidAlgorithmParameterException
I follow the step in the link(https://github.com/apereo/cas-overlay-template) to deploy Apereo CAS.
Test Environment:
CAS Version: 7.0.0-SNAPSHOT
CAS Branch: master
CAS Build Date/Time: 2022-10-05T13:10:26Z
Spring Boot Version: 2.7.4
Spring Version:…

Michael Shi
- 21
- 3
1
vote
1 answer
Apereo CAS integration with other idp platform
We are trying to integrate apereo CAS with other authentication platform, this other platform uses SAML2 as protocol and has it own way to authenticate (can't integrate apereo CAS with this other platform using SAML2 auth).
We cannot find a way to…

dgcipp
- 339
- 3
- 17
1
vote
1 answer
Apereo CAS HTML template does not seem to load
So I initialized CAS using cas-initializr with the following command inside the cas folder:
curl https://casinit.herokuapp.com/starter.tgz -d "dependencies=core,bootadmin,metrics,gitsvc,jsonsvc,redis,support-themes-core" | tar -xzvf -
My theme…

iamanoob
- 43
- 1
- 6
1
vote
1 answer
How to reset Principal attributeMap in Apereo CAS 6.1.x?
I am a beginner of CAS. I want to reset Principal attributeMap after loging successfully, and no solution in similar questions. Can anyone help me? Thanks for your advice!
CAS Version:6.1.6

Joyce Lu
- 11
- 3
1
vote
0 answers
Cannot add service to apereo cas-overlay-template project. Application Not Authorized to Use CAS
I am trying to add a service to cas-overlay-template project that I am deploying locally.
My service json looks like this
{
"@class" : "org.apereo.cas.services.RegexRegisteredService",
"serviceId" : "^(http?|imaps?)://.*",
"name" :…

Raskolnikov
- 121
- 2
- 7
1
vote
0 answers
How to disable specific log message in Apereo CAS 6
I am using Apereo CAS 6.2. During startup there are many log messages. I want to disable this specific one:
INFO [org.apereo.cas.configuration.DefaultCasConfigurationPropertiesSourceLocator] -

50Cube
- 11
- 1
1
vote
1 answer
Apereo CAS OAuth2: callbackAuthorize switch Location to HTTP
I have setup a CAS server and I have configured a service for my client-application:
{
"@class" : "org.apereo.cas.support.oauth.services.OAuthRegisteredService",
"clientId": "*********",
"clientSecret": "*****************",
"serviceId" :…

piccarsa
- 21
- 3
1
vote
0 answers
CAS delegated authentication with OAUTH2.0 not working
I was trying to add an oauth2.0 authentication provider in our cas (v6.1.x). But I was getting the following error.
2020-11-15 10:03:30,675 INFO [org.apereo.cas.web.flow.DelegatedClientAuthenticationAction] -

Shuvradeb Saha
- 70
- 9
1
vote
1 answer
How to make Quarkus use Apereo CAS or SAML2 authentication
I am a computer science student and have used Quarkus for several projects in the past year.
I recently received a new project where I have to create a rest API. Because I have to do a lot in a short time, I use Quarkus to easily do the job with…

Totog1nger
- 45
- 7
1
vote
1 answer
How to disable Apereo CAS audit log
I'm using Apereo CAS 5.3.x and I don't need audit log like below in my log file.(For Security reasons)
WHO: org.apereo.cas.support.oauth.authentication.principal.OAuthCredentials@6cd7c975
WHAT: supplied credentials:…

Will.Ling
- 21
- 6