Skip to content

Strange error on CAS login #61

@jgribonvald

Description

@jgribonvald

Hi I'm having a strange error on CAS login.

When the user is redirected to CAS and that the user need to connect on I'm getting always an error with this log:

greenlight-v2                   | 2020-11-16 15:06:34 +0000 - INFO: [2d398464-f8cb-40b1-8713-79ea94f31cf7] method=GET path=/b/signin format=html controller=SessionsController action=signin status=302 duration=7.44 view=0.00 db=1.09 location=https://my.domain.edu/b/auth/cas host=greenlight 
greenlight-v2                   | 2020-11-16 15:06:34 +0000 - INFO: [674ea324-886f-4b14-a7c7-408d7dccbc1a] (cas) Request phase initiated.
greenlight-v2                   | 2020-11-16 15:06:34 +0000 - INFO: [9f27ac04-42f9-421b-b72f-660411a11767] method=GET path=/b/signin format=html controller=SessionsController action=signin status=302 duration=7.29 view=0.00 db=1.17 location=https://my.domain.edu/b/auth/cas host=greenlight 
greenlight-v2                   | 2020-11-16 15:06:34 +0000 - INFO: [febc8386-a3a7-45d7-b489-1e5cfad4d7b9] (cas) Request phase initiated. 
greenlight-v2                   | 2020-11-16 15:06:39 +0000 - INFO: [c84bcaf0-75e3-4983-a11a-799c8df68342] (cas) Callback phase initiated. 
greenlight-v2                   | 2020-11-16 15:06:39 +0000 - ERROR: [c84bcaf0-75e3-4983-a11a-799c8df68342] (cas) Authentication failure! invalid_ticket: OmniAuth::Strategies::CAS::InvalidCASTicket, Invalid CAS Ticket
greenlight-v2                   | 2020-11-16 15:06:39 +0000 - INFO: [3a80d0e2-ffb6-402f-b9b7-e870fc9bd585] method=GET path=/b/auth/failure format=html controller=SessionsController action=omniauth_fail status=302 duration=6.31 view=0.00 db=1.05 location=https://my.domain.edu/b/ host=greenlight

But if the user try to login again, or simply to log and that he is already logged in on CAS server we don't encounter the problem.

Do you know why we can get a such problem ?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions