View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - API login with LDAP credentials - ProjeQtOr

Prochaines sessions de formation

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)

Mardi 23 avril (10h30-12h)

Jeudi 16 mai (16h-17h30)

Jeudi 13 juin (10h30-12h)

 
 

Planifiez avec ProjeQtOr

3 et 4 avril (9h - 12h30)

 
 

Administrez avec ProjeQtOr

10 et 11 avril (9h - 12h30)

 

 

 
 

API login with LDAP credentials

More
21 Avr 2022 10:55 - 21 Avr 2022 10:56 #1 by caccia
Hi,

For anyone who would like to use LDAP authentication with the Projeqtor API, we've found the following configuration works nicely on an Apache server.
In case it can help :)

In the configuration for your virtual host, add the following information to automatically use the LDAP authentication mechanism for users of your Projeqtor application.
 
# API ACCESS
<Directory /var/www/projeqtor/api>
  Options Indexes MultiViews FollowSymLinks
  AllowOverride None
  Order deny,allow
  Deny from all
  Allow from 127.0.0.1 1.2.3.4 # if you want to restrict the API access only to specific IP addresses

  <IfModule mod_rewrite.c>
     RewriteEngine On
     RewriteCond %{REQUEST_FILENAME} !-f
     RewriteCond %{REQUEST_FILENAME} !-d
     RewriteRule ^(.*)$ index.php?uri=$1
  </IfModule>

  AuthBasicProvider ldap
  AuthType Basic
  AuthName "Login using LDAP"
  AuthLDAPURL "ldaps://ldap-server/DC=mycompany,DC=com?sAMAccountName?sub?(objectClass=person)"  # if using SAMAccountName to store user name in LDAP
  AuthLDAPBindDN "LDAP-generic-user-name"
  AuthLDAPBindPassword "LDAP-generic-user-password"
  Require valid-user
</Directory>


 
Last edit: 21 Avr 2022 10:56 by caccia.
The following user(s) said Thank You: babynus, Arkhanje, Flou, Sajid626

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.031 seconds

Paramétrages de cookies

×

Cookies fonctionnels

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.