mod_auth_tkt | Lightweight single-signon authentication module for Apache | Authentication library

 by   gavincarr C Version: Current License: Non-SPDX

kandi X-RAY | mod_auth_tkt Summary

kandi X-RAY | mod_auth_tkt Summary

mod_auth_tkt is a C library typically used in Security, Authentication, Nodejs applications. mod_auth_tkt has no bugs, it has no vulnerabilities and it has low support. However mod_auth_tkt has a Non-SPDX License. You can download it from GitHub.

See the INSTALL file for installation instructions. mod_auth_tkt is a lightweight cookie-based authentication module for Apache, written in C. It implements a single-signon framework that works across multiple apache instances and multiple machines. The actual authentication is done by a user-supplied CGI or script in whatever language you like (examples are provided in Perl), meaning you can authenticate against any kind of user repository you can access (password files, ldap, databases, etc.). mod_auth_tkt supports inactivity timeouts (including the ability to control how aggressively the ticket is refreshed), the ability to include arbitrary user data within the cookie, configurable cookie names and domains, and token-based access to subsections of a site. mod_auth_tkt works by checking incoming Apache requests for a (user- defined) cookie containing a valid authentication ticket. The ticket is checked by generating an MD5 checksum for the username and any (optional) user data from the ticket together with the requesting IP address and a shared secret available to the server. If the generated MD5 checksum matches the ticket's checksum, the ticket is valid and the request is authorised. Requests without a valid ticket are redirected to a configurable URL which is expected to validate the user and generate a ticket for them. This package includes a Perl module for generating the cookies; implementations for other environments should be relatively straightforward.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              mod_auth_tkt has a low active ecosystem.
              It has 35 star(s) with 19 fork(s). There are 10 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 8 open issues and 2 have been closed. On average issues are closed in 958 days. There are 6 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of mod_auth_tkt is current.

            kandi-Quality Quality

              mod_auth_tkt has no bugs reported.

            kandi-Security Security

              mod_auth_tkt has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              mod_auth_tkt has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              mod_auth_tkt releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of mod_auth_tkt
            Get all kandi verified functions for this library.

            mod_auth_tkt Key Features

            No Key Features are available at this moment for mod_auth_tkt.

            mod_auth_tkt Examples and Code Snippets

            No Code Snippets are available at this moment for mod_auth_tkt.

            Community Discussions

            Trending Discussions on mod_auth_tkt

            QUESTION

            Two factor authentication in two steps
            Asked 2019-Jun-17 at 16:03

            I am trying to implement two factor authentication. The login will consist of 2 steps:

            1. Username and password are provided and checked for correctness. If they are correct, and 2FA is not enabled for the account, the user is logged in (a cookie is set). If they are correct and 2FA is enabled, the user is redirected to a page where she has to enter her one time password.

            2. The user enters her one time password and is logged in if it is correct.

            When redirecting the user to the OTP page, I need to somehow remember that she already entered the correct password and username. What would be the best way to do that? Is it possible to send post data with a redirect, so that I can just send password and username again? Should I create an intermediate cookie that saves a secret (and also save that secret on the server, seems like a complicated way of doing it?).

            I am using flask and mod_auth_tkt (an apache mod for cookie based authentication) if that makes any difference.

            ...

            ANSWER

            Answered 2019-Jun-17 at 16:03

            Should I create an intermediate cookie that saves a secret (and also save that secret on the server, seems like a complicated way of doing it?).

            I guess you could use Flask session for that, just remember to clear it if login/two factor authentication fails!

            Documentation: http://flask.pocoo.org/docs/1.0/quickstart/#sessions

            Source https://stackoverflow.com/questions/56631512

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install mod_auth_tkt

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/gavincarr/mod_auth_tkt.git

          • CLI

            gh repo clone gavincarr/mod_auth_tkt

          • sshUrl

            git@github.com:gavincarr/mod_auth_tkt.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Authentication Libraries

            supabase

            by supabase

            iosched

            by google

            monica

            by monicahq

            authelia

            by authelia

            hydra

            by ory

            Try Top Libraries by gavincarr

            statik

            by gavincarrPerl

            rpm-find-changes

            by gavincarrPerl

            sshr

            by gavincarrRuby

            shrtn

            by gavincarrPerl

            hosttag

            by gavincarrRuby