CAS server with Oauth2.0 Authentication Issue

Description

I have working on cas server with oauth 2.0 using google authentication provider from the sample application. Now, i have facing some issues while redirect the url from google authentication to cas server. The response "ticket" parameter returned value is always displaying "null".

The below details are log of the CAS server while access the application:

Key attribute..... javax.servlet.request.key_size
value attribute... 128

Key attribute..... javax.servlet.request.ssl_
session
value attribute... 5057fbbc894e5379eba72d525282a3f0d5920648603eec2b0c369431f7edd711

Key attribute..... javax.servlet.request.cipher_suite
value attribute... TLS_RSA_WITH_AES_128_CBC_SHA

Key param...... code
value param.... 4/WZJTJ_r9rhek2c5HHMpoUDvm4dmf.EscewamPm-cXXE-sT2ZLcbQnrMZeggI

serviceTicket... null

test............ null

2012-09-18 10:13:09,597 INFO [com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN

=============================================================
WHO: [username: test]
WHAT: supplied credentials: [username: test]
ACTION: AUTHENTICATION_FAILED
APPLICATION: CAS
WHEN: Wed Sep 18 10:13:56 IST 2012
CLIENT IP ADDRESS: 127.0.0.1
SERVER IP ADDRESS: 127.0.0.1
=============================================================

>
2012-09-18 10:13:09,699 INFO [com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN
=============================================================
WHO: [username: test]
WHAT: error.authentication.credentials.unsupported
ACTION: TICKET_GRANTING_TICKET_NOT_CREATED
APPLICATION: CAS
WHEN: Wed Sep 18 10:13:56 IST 2012
CLIENT IP ADDRESS: 127.0.0.1
SERVER IP ADDRESS: 127.0.0.1
=============================================================
>

Environment

Windows 7, Java.

Attachments

3
  • 24 Sep 2013, 05:47 AM
  • 20 Sep 2013, 07:02 AM
  • 20 Sep 2013, 07:00 AM

Activity

Show:

Jérôme LELEUSeptember 26, 2013 at 2:03 PM

The OAuth key and secret on OAuth client side must be configured according to a CAS service with the same information. Please find the doc here : https://wiki.jasig.org/display/CASUM/Configuration+for+the+OAuth+server+support.

Gopalakrishnan VSeptember 26, 2013 at 6:58 AM

Hi,

How to configure cas wrapper "key and secret" values in cas server for oauth authentication.?

Jérôme LELEUSeptember 25, 2013 at 10:30 AM

I consider that this is not a bug, more a configuration issue. I will close it.

Feel free to re-open it...

Jérôme LELEUSeptember 25, 2013 at 7:35 AM

Gopalakrishnan VSeptember 25, 2013 at 4:13 AM

Hi,

The "OAuthCredentialsToPrincipalResolver" class is available in cas-server-support-oauth-3.5.2.jar file. Can u please share the basic configuration steps for cas server with sample application.

Regards,
Gopal.

Won't Fix

Details

Assignee

Reporter

Estimated End Date

Original estimate

Time tracking

No time logged2d remaining

Affects versions

Priority

Created September 20, 2013 at 4:38 AM
Updated September 26, 2013 at 2:03 PM
Resolved September 25, 2013 at 10:30 AM