tool - Bazzline_Controller_Plugin_Auth - Zend Framework Controller Plugin - now on github.com
I just released my first project on github.com. As mention in the headline, it is called Bazzline_Controller_Plugin_Auth. It is a simple plugin which tests if the called url is a "logged in user" only url or not. If it is "logged in only", the user is redirected to the login. The previously called url is saved in the session. After a successfull login, the user gets redirected to this saved url. All can be configured in a config file.
This plugin is only for simple access controll by "user is logged in" or "user is not logged in". The ACL stuff is still in the pipeline and should not - to follow the KISS principle - be inside an auth plugin.
While setting up this project on github, i had some problems while getting a valid connection to github. I followed the howto but not "pressed enter" when asked for a file to store the key. Thats why:
ssh -T git@github.comfailed. But when i added the -i option like:
ssh -T git@github.com -i path/to/my/private/keyeverything runs smoothly. After a short term of searching, i found the ssh issues page on gitub.com. The simple solution is:
Create or open the file at ~/.ssh/config Add the following lines:After that, theHost github.com User git Hostname github.com PreferredAuthentications publickey IdentityFile /path/to/my/private/key
git push -u origin masterruns without any errors.
Comments
Display comments as Linear | Threaded