airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neeraj Lad <>
Subject Re: Running PGA locally on OS X
Date Thu, 28 Sep 2017 17:01:21 GMT

Changing the oauth-callback-url gives me the Keycloak error 'Invalid
parameter: redirect_uri'. It tried using https, but both did not
work. A Stack Overflow question mentions that Keycloak admin console needs
to be configured. Here is the question:

There are three of files apart from pga_config which make use of the
variable oauth-callback-url.

1. /app/config/pga_config.php.template: This sets the url to ''. I guess this file is not relevant

2. /app/libraries/Keycloak/KeycloakServiceProvider.php: This uses
Config::get('pga_config.wsis') to create a variable 'identityServerConfig'
which has the oauth-callback-url as a field. The file 'pga_config.wsis' is
not on the codebase. Config is related to Laravel. I am not sure how Config
returns back 'identityServerConfig'. Am I right in guessing that you are
extracting the pga_config.wsis from some server?

3. /app/libraries/Wsis/Wsis.php: This again makes use of

Do you think there is a need to change some configuration on Keycloak. If
yes, how can I do it?

On Thu, Sep 28, 2017 at 9:15 AM, Christie, Marcus Aaron <>

> On Sep 28, 2017, at 8:24 AM, Neeraj Lad <> wrote:
> Hi all,
> I've followed the instructions to install all the dependencies for the
> PGA. Now I need to run it locally.
> I got the pga_config file from Eroma, but using it and logging in with
> CILogon takes me to the, instead of the
> version at localhost:8080. How can I avoid this?
> Neeraj,
> change oauth-callback-url in pga_config.php to have the value ‘
> http://localhost:8080/callback-url'
> As another option, I know there are instructions to set PGA on CentOS
> using Ansible. But are there any similar instructions for OS X?
> No. Closest thing would be to run VirtualBox on OS X and use Ansible to
> install PGA on the VirtualBox VM.  Eric Coulter did a POC of this:
> inventories/local-vbox.

View raw message