CodeIgniter Forums
A3M - Account Authentication & Authorization Module - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: A3M - Account Authentication & Authorization Module (/showthread.php?tid=27290)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39


A3M - Account Authentication & Authorization Module - El Forum - 02-02-2011

[eluser]3s2ng[/eluser]
[quote author="Lucian_bz" date="1296661799"]I had the same problem when I tested the local server, the IP.

It seems to be a problem with facebook, there is not recognize server and redirect there.

Try to put in another folder and change the facebook apps and path to that folder.

To me it worked without problems.[/quote]

Actually Google doesnt work as well. Just keep on redirecting in loop.


A3M - Account Authentication & Authorization Module - El Forum - 02-02-2011

[eluser]3s2ng[/eluser]
[quote author="3s2ng" date="1296641991"]I did installed into my server. But when ever i try to login using Facebook or Google

I always received a the "The page isn't redirecting properly" in FF. It seems that the session is not being save and it keeps on calling the Facebook login URL but when it hits facebook it redirects back to my server then the process goes infinite loop.

Can anyone help me on this?
http://presyo.meishalexis.com

Thanks[/quote]

Update: I think there is something wrong with the $config['uri_protocol'] in the CI config. I've tried all the options (AUTO,PATH_INFO,QUERY_STRING,REQUEST_URI,ORIG_PATH_INFO)


QUERY_STRING it works but I experienced the infinite redirection issue.

REQUEST_URI works but when it goes to the /account/connect_facebook?session={"session_key":"2.57rsduti_T2P34epvPnz...... i received 404 error

ORIG_PATH_INFO does not work.

Note: I'm using bluehost.


A3M - Account Authentication & Authorization Module - El Forum - 02-03-2011

[eluser]Hermes Alves[/eluser]
Will make a new version with CodeIgniter 2.0?

Will develop a new version of the new module with CodeIgniter?


A3M - Account Authentication & Authorization Module - El Forum - 02-09-2011

[eluser]Vanitas[/eluser]
Hi, I've just discovered A3M and I'm going to play with it as soon as it's possible. I starded write my own authorization library but when I saw A3M I decided to use it Wink
Can you relase second version without CI sources, only clean library? It should be helpful to use it in already started projects.
Also, do you have some tutorial for A3M? It would save some time than experimenting by yourself (A3M is quite expanded).


A3M - Account Authentication & Authorization Module - El Forum - 02-10-2011

[eluser]Peng Kong[/eluser]
hi vanitas look at the google code http://code.google.com/p/a3m/
sorry i got no time to write good documentation however if you dive into the code it should be too hard to understand. tell me what you want to achieve and i can help you with the rough steps.

hermes i've already done a CI2.0 version Smile will upload it tomorrow to google code.


A3M - Account Authentication & Authorization Module - El Forum - 02-10-2011

[eluser]Vanitas[/eluser]
Thanks for your replay, I think the biggest impediment for me is that I don't know a structure of A3M yet. I don't know what function can I use, where to find some function if it even exists and so on.
I just need to sit on this and figure it out.
I guess the only needed folder is:
Code:
...\a3m-1.0-mushmellow\system\application\modules\account
What if I want to load controllers/views from main CI folder?
Library's controllers and views are little tricky too, normally I have main view and I'm loading content depending on controller. Will A3M mess it?
(I didn't have opportunity to test all that yet, now I will just wait for version for CI 2.0)


A3M - Account Authentication & Authorization Module - El Forum - 02-13-2011

[eluser]Peng Kong[/eluser]
you can load the controllers and views from the main ci folder vanitas.
read more about wiredesignz's hmvc.

anyway 2.0 is out http://code.google.com/p/a3m/downloads/list


A3M - Account Authentication & Authorization Module - El Forum - 02-13-2011

[eluser]3s2ng[/eluser]
Hi Peng Kong,

Any idea how to solve the redirect loop issue? This issue was already submitted in google code.

Thanks,


A3M - Account Authentication & Authorization Module - El Forum - 02-13-2011

[eluser]Peng Kong[/eluser]
i posted a reply there. i basically don't know how to solve it. but i know it has something to do with PATH_INFO/AUTO/QueryStrings in the config file. You got to play around with it based on your server config.


A3M - Account Authentication & Authorization Module - El Forum - 02-17-2011

[eluser]-[/eluser]
Hello Peng Kong, no idea if!, I want to modify your script to insert an ACL library, from where I started to browse a3m this script. whether the latest a3m CI 2.0 its existing ACL? Please help ... Thanks...

Good Job.