Hi,
I need to create a single sign-on which works with Direct Admin. I thought I could do something like this:
1. Click on "Login to direct admin" on another site
2. Add the direct admin username/password and a secret key to a table
3. Redirect the user WITH the secret key to some file on direct admin (where?)
4. In the direct admin file I would look at the file, get the username/password from the table with the same key
5. Login to direct admin setting sessions (how)?
I've got 1, 2 and the redirecting done but I'm not sure about 3, 4 and 5. Is is possible to do this with Direct Admin? How should I do it (5)? Where should I send the user (3)?
Thanks,
-Martin Lundberg
I need to create a single sign-on which works with Direct Admin. I thought I could do something like this:
1. Click on "Login to direct admin" on another site
2. Add the direct admin username/password and a secret key to a table
3. Redirect the user WITH the secret key to some file on direct admin (where?)
4. In the direct admin file I would look at the file, get the username/password from the table with the same key
5. Login to direct admin setting sessions (how)?
I've got 1, 2 and the redirecting done but I'm not sure about 3, 4 and 5. Is is possible to do this with Direct Admin? How should I do it (5)? Where should I send the user (3)?
Thanks,
-Martin Lundberg