Pablo,

Seehttps://github.com/rbonatuvic/cas/blob/7.1.x/support/cas-server-support-thymeleaf/src/main/resources/messages.properties

We use src/main/resources/custom_messages.properties with our overrides.

Ray
________________________________
From: [email protected] <[email protected]> on behalf of Pablo Vidaurri 
<[email protected]>
Sent: April 16, 2025 11:45
To: CAS Community <[email protected]>
Subject: [cas-user] delegated login, user waits too long, CAS error on redirect

I'm delegating login to Azure B2C.

When a user is delegated to the B2C login page, he may wait for a few minutes 
for whatever reason. Finally he enters his credentials but on redirect back to 
CAS, gets an error message with red background:

 Application Not Authorized to Use CAS

The application you attempted to authenticate to is not authorized to use CAS. 
This usually indicates that the application is not registered with CAS, or its 
authorization policy defined in its registration record prevents it from 
leveraging CAS functionality, or it's malformed and unrecognized by CAS. 
Contact your CAS administrator to learn how you might register and integrate 
your application with CAS.


Is there a way to catch this and display a different message?


-psv

--
- Website: https://apereo.github.io/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected]<mailto:[email protected]>.
To view this discussion visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/18e87b7c-4a86-4cef-b6c5-594f379d4f64n%40apereo.org<https://groups.google.com/a/apereo.org/d/msgid/cas-user/18e87b7c-4a86-4cef-b6c5-594f379d4f64n%40apereo.org?utm_medium=email&utm_source=footer>.

-- 
- Website: https://apereo.github.io/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/YQBP288MB0081B920753DCC256103DB5DCEBD2%40YQBP288MB0081.CANP288.PROD.OUTLOOK.COM.

Reply via email to