Skip to content

Basic auth expires after 10 minutes #210

@alehaa

Description

@alehaa

Hi everyone,

I'm using this module to authenticate the users with their AD credentials via kerberos, basic auth and a form login (which authenticates the user via PHP + basic auth). The GssapiUseSessions option is set to On, so the authentication process needs to be done only once. However, if I use basic auth for the first login and the session cookie for the following requests, the user can't be authenticated anymore after exactly 10 minutes.

According to the source code, the user should be authenticated indefinite and therefore logged in as long as the session is alive. The default krb5.conf should obtain tickets for one day. However, the log states

NO AUTH DATA Client did not send any authentication headers

and the request is terminated with an error 401.

So I guess the ticket is only valid for 10 minutes instead of a day. Is there any chance to increase this time limit? I couldn't find any hint in the source code, so I would appreciate some help.

Thanks ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions