Skip to content

Error handling remote login (Maybe not a bug) #497

Description

@ronnyek

Using GSS.Authentication 5.3.3

Describe the bug
On occasion, the /signin-cas endpoint gets hit and throws an exception.

[09:04:12 DBG] 0HN0JI1URRJHK:00000004 The request path /signin-cas does not match a supported file type
[09:04:12 INF] 0HN0JI1URRJHK:00000004 Error from RemoteAuthentication: Missing CAS ticket..
[09:04:13 ERR] 0HN0JI1URRJHK:00000004 An error was encountered while handling the remote login.
System.Exception: An error was encountered while handling the remote login.
 ---> System.Exception: Missing CAS ticket.
   --- End of inner exception stack trace ---
   at Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler`1.HandleRequestAsync()
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)

I'm not sure what would cause this, as I believe the cas server is redirecting back to this app when this happens. Ultimately I'd like to find a way to intercept and redirect back to login or somethign when I encounter this error.

The vast majority of time, this library works perfectly and I never run into problems... so again... not exactly sure what I'm doing wrong, or if it could indicate a problem with the cas server or something else.

Any pointers here would be greatly appreciated.

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