By: xeno ivan user 30 Apr 2017 at 4:12 a.m. CDT

5 Responses
xeno ivan gravatar
i installed plugin in local system and it's work fine. but when i try to activate it on server it get following error: Parse error: syntax error, unexpected '[' in /var/www/vhosts/roozbahan.com/httpdocs/wp-content/plugins/openid-connect-sso-by-gluu/gluu_openid_oxd_settings.php on line 109 witch is point to this code $config_option = array( "oxd_host_port" =>8099, "authorization_redirect_uri" => site_url().'/index.php?option=oxdOpenId', "logout_redirect_uri" => site_url().'/index.php?option=allLogout', "scope" => [ "openid", "profile","email"], "application_type" => "web", "redirect_uris" => [ site_url().'/index.php?option=oxdOpenId' ], "response_types" => ["code"], "grant_types" =>["authorization_code"], "acr_values" => [] ); it's look like that php got error on creating array on params

By Mohib Zico staff 30 Apr 2017 at 5:49 a.m. CDT

Mohib Zico gravatar
Here is the config section from my working setup.

By xeno ivan user 30 Apr 2017 at 5:50 a.m. CDT

xeno ivan gravatar
mine is exactly like this and its work on local but get dummy error on server

By Michael Schwartz Account Admin 30 Apr 2017 at 12:05 p.m. CDT

Michael Schwartz gravatar
Is the oxd-server running?

By xeno ivan user 01 May 2017 at 3:41 a.m. CDT

xeno ivan gravatar
i didnt want to user oxd-server as my Identity Provider, i just want to use simple OpenID Connect client of gluu

By Mohib Zico staff 01 May 2017 at 4:48 a.m. CDT

Mohib Zico gravatar
'oxd-server' is not Identity provider. You need to run oxd-server to properly run your oxd plugin.