airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Supun Nakandala <supun.nakand...@gmail.com>
Subject Re: Authentication failed - Invalid credentials provided
Date Mon, 23 May 2016 19:40:13 GMT
You need to use the admin credentials which you used to create the tenant,
not the gateway admin credentials.

And when registering the OAuth-Service-Provider you don't need to do any
role configuration.

On Mon, May 23, 2016 at 3:33 PM, Pratik Patel <patelprv@umail.iu.edu> wrote:

> Apologies for the brevity of the request. On my local instance of the IS,
> there are two users. One- the default admin user which I used to create a
> new tenant. And other user is tenant admin user. So it was not clear which
> user to be used in configuration file. And when we create a OAuth service
> provider , there is a tab for 'Role/permission configuration'. I just
> wanted to know if we need to add any role in that tab. It is not given in
> instructions but wanted to make sure I haven't missed anything because I
> have put correct credentials in the configuration file.
>
> Pratik Patel
> On May 23, 2016, at 3:27 PM, Supun Nakandala <supun.nakandala@gmail.com>
> wrote:
>>
>> Yes we need to add the admin user credentials of the tenant that was
>> created.
>>
>> Can explain more on what do you mean by credentials of the tenant? and
>> role mappings to OAuth service provider?
>>
>>
>>
>> On Mon, May 23, 2016 at 3:22 PM, Pratik Patel <patelprv@umail.iu.edu>
>> wrote:
>>
>>> Do we have to provide the credentials of the admin user or the
>>> credentials of the tenant that we created? Do we need to add any role
>>> mapping  for OAuth service provider?
>>>
>>> Pratik Patel
>>> On May 23, 2016, at 3:20 PM, Supun Nakandala < supun.nakandala@gmail.com>
>>> wrote:
>>>>
>>>> This error normally means that wrong IS admin credentials have been
>>>> used in PGA config.
>>>>
>>>> On Mon, May 23, 2016 at 3:15 PM, Pratik Patel <patelprv@umail.iu.edu>
>>>> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I have deployed PGA and WSO2 IS locally, as per the instructions at '
>>>>> http://airavata.readthedocs.io/en/latest/PGA-Installation/' I have
>>>>> configured pga_conf.php file for wsis and I have put credentials for
the
>>>>> tenant that I created on my local IS. I have attached the screenshot
of the
>>>>> error message. I have also created OAuth service provider and copied
their
>>>>> client key and client secret to the pga_conf file. Is there any step
I am
>>>>> missing out?
>>>>>
>>>>> Pratik Patel
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Thank you
>>>> Supun Nakandala
>>>> Dept. Computer Science and Engineering
>>>> University of Moratuwa
>>>>
>>>
>>
>>
>> --
>> Thank you
>> Supun Nakandala
>> Dept. Computer Science and Engineering
>> University of Moratuwa
>>
>


-- 
Thank you
Supun Nakandala
Dept. Computer Science and Engineering
University of Moratuwa

Mime
View raw message