Hi, (@rajeshmishra)
Currently I am working on SSO integration via SimpleSAMLphp (OPDK).
I followed the steps on this url
After instalIing SimpleSAMLphp library, I got a error (403 forbidden) when trying to access the
http://<$hostname>/simplesaml/.
Please look at the Steps below:
(Developer portal installed on nginx with posgres as DB)
-
Downloaded SimpleSAMLphp library, extracted it to /opt/apigee/apigee-drupal-7.xx/private.
-
Created a symlink from opt/apigee/apigee-drupal-7.xx/
ln -s /private/SimpleSAMLphp/www ./simplesaml
3.Replaced some variables in
opt/apigee/apigee-drupal7.xx/private/SimpleSAMLphp/config/config.php
'baseurlpath' => 'http://<$host>:8079/simplesaml/'
'auth.adminpassword' => 'xxx'
'database.dsn' => 'pgsql:host=xxxx;dbname=xxx',
'database.username' => 'xxx',
'database.password' => 'xx',
'tempdir' => '/tmp/simplesaml'
- I created an alias in /opt/apigee/data/apigee-lb/conf.d/ apigee-drupal-devportal-nginx.conf.
(added the below code to apigee-drupal-devportal-nginx.conf)
location ^~ /simplesaml {
alias /opt/apigee/apigee-drupal/private/simplesamlphp/www;
location ~ ^(?<prefix>/simplesaml)(?<phpfile>.+?\.php)(?<pathinfo>/.*)?$ {
include /opt/nginx/conf/fastcgi_params;
fastcgi_param HTTP_PROXY "";
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_intercept_errors on;
fastcgi_pass 127.xxxxx;
}
}
-
I verified permissions on the directories too (FYI).
-
On developer portal UI (http://:8079/admin/reports/status), it says that “SimpleSAMLAuth requires SimpleSAMLphp library” even though I Installed it.
![]()
Hoping some help to resolve this issue.
Thanks for your time and patience.