Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Newer versions of Codiad (starting with 2.x) allow to use a custom auth scheme to access Codiad.
- Each user who should have access over an external auth bridge has to be configured in Codiad as well.
- The knowledge of the password in Codiad is not required.
Create or install an external auth bridge to your local Codiad installation. A template containing the minium amount of information is
$_SESSION['user']. Additional parameters are for language, template and project.
<?php $_SESSION['user'] = 'test'; $_SESSION['lang'] = 'en'; $_SESSION['theme'] = 'default'; $_SESSION['project'] = 'test'; ?>
To enable external auth bridge, open your config.php and enable external auth with the path to your local bridge
Codiad-SQLExternalAuth : An SQL External Auth bridge for Codiad using PHP Data Objects (PDO) (see tutorial at destination for setup instructions).
Codiad-LDAPExternalAuth : An LDAP External Auth bridge for Codiad (see tutorial at destination for setup instructions).
Codiad-HTTP External Auth: shows how to integrate HTTP Basic authentication with Codiad, and create users in Codiad configuration if required
Codiad-Auth-NTLM provides a way to authenticate with NTLM or against SMB
Codiad-IMAP_Auth provides a way to authenticate against an IMAP server