Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

OPAuth + CodeIgniter integration

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 application
Octocat-spinner-32 system
Octocat-spinner-32 .htaccess
Octocat-spinner-32 README.md
Octocat-spinner-32 index.php
README.md

ci_opauth

OPauth + CodeIgniter integration. Based on https://github.com/uzyn/opauth

IMPORTANT FILES.

*/application/config/ci_opauth.php

This file contains most common options to set up opauth:

'path' - Route to login method. Out-of-the-zip it will be /your_app/auth/login

'callback_url' - Route to callback method. Out-of-the-zip it will be /your_app/auth/authenticate

'callback_transport' - CodeIgniter not support $_SESSION, so you can choose between 'get' or 'post'.

'security_salt' - Type anything.

'debug' - True or false.

'Strategy' - It contains a number of strategies. Choose your authentication providers and complete data

*.htaccess

You need to enable mod_rewrite on your webserver. Change your_app by your app name.

*/application/libraries/Opauth/OpenID/OpenIDStrategy.php

Changed file to get openid_url from ci_opauth.php config file. If you want to use any openid_url, just review comments on the file.

COMMENTS.

This integration only identifies users. If you want to store the data, you must edit the method 'auth/authenticate' and develop the necessary logic to do it.

Something went wrong with that request. Please try again.