Codiad is a very powerful, user-friendly open source web-based IDE. Starting with version 2.x, there is a simple way to integrate external authentication with codiad. This gist shows to make Codiad use HTTP authentication, automatically adding a new user Codiad configuration if - whoever was authenticated by the HTTP server - does not have a Codiad account.
In the Codiad folder, open the config.php
file and look for the line that starts with define("AUTH_PATH",
. Uncomment and set the second parameter of the define to codiad_http_auth.php
.
Then save the codiad_http_auth.php
file from below in the same folder and enjoy
I learned a lot from the Codiad-LDAPExternalAuth example
aren't you missing a " ?> " on line 18 @basteln3rk ?