[Solved] Create 3rd party authentication

Get help with installation and running IntraMessenger
Forum rules
For readability and to easier tracking, please post a new topic by theme (questions or problems).

[Solved] Create 3rd party authentication

Unread postby freeairforce » Mon Nov 04, 2013 1:19 pm

Hello,
I got another thing I want to ask you.
So, I have a admin panel where I create users(that are used in 3rd party application), and I want the same users to be able to connect in IntraMessenger.
I would like, when I create a new user in my Admin panel, to also create users in IntraMessenger DB.
I have found the table "IM_USR_USER", I need to insert here users using a 3rd party Admin.

Please let me know how to input USR_CHECK and USR_PASSWORD ( what encryption ) ?
Are there any other input fields required in order to work properly ?

THANKS !
freeairforce
 
Posts: 8
Joined: Sun Nov 03, 2013 10:42 am

Re: Create 3rd party authentication

Unread postby THeUDS » Mon Nov 04, 2013 6:49 pm

IntraMessenger (IM) have already 3rd party authentication.
Why not add your application authentication ?
(IM will check in your application database, and (if ok) create user in table table "IM_USR_USER" without password)


Just go to /common/extern/
create your own file abcd.auth.inc.php (for example, abcd is name your authentication).
(see/copy other files for example, if hash is md5 copy from moodle.auth.inc.php)

Edit file extern.inc.php
in function f_extern_auth_list()
add:
Code: Select all
$ext[] = "abcd";
User avatar
THeUDS
 
Posts: 2311
Joined: Fri Apr 15, 2005 6:56 pm

Re: Create 3rd party authentication

Unread postby freeairforce » Mon Nov 04, 2013 8:31 pm

Worked !
THANKS !

1 more question.
Is the windows client install capable of running(with same settings/config) if I copy it to another windows system ? (identical OS)
freeairforce
 
Posts: 8
Joined: Sun Nov 03, 2013 10:42 am

Re: Create 3rd party authentication

Unread postby THeUDS » Mon Nov 04, 2013 8:48 pm

freeairforce wrote:1 more question.
Is the windows client install capable of running(with same settings/config) if I copy it to another windows system ? (identical OS)

Yes
(you can use zip version to, after add options.ini...)
User avatar
THeUDS
 
Posts: 2311
Joined: Fri Apr 15, 2005 6:56 pm

Re: [Solved] Create 3rd party authentication

Unread postby freeairforce » Mon Nov 04, 2013 9:02 pm

BIG THANKS !
I already love this software !
I am going to mass-use it in the company where I work, more then 100 people will use it daily.

I will get back if I have other questions.

great support !
freeairforce
 
Posts: 8
Joined: Sun Nov 03, 2013 10:42 am

Re: [Solved] Create 3rd party authentication

Unread postby THeUDS » Mon Nov 04, 2013 9:30 pm

Good !

freeairforce wrote:I will get back if I have other questions.

Yes please !
(in separate topics)
User avatar
THeUDS
 
Posts: 2311
Joined: Fri Apr 15, 2005 6:56 pm


Return to Support : problem/question

Who is online

Users browsing this forum: No registered users and 1 guest