Tenant domain should not be a mandatory parameter for the token API. The
fix that required it to be so was reverted (or fixed differently) by
Johann. Could you please check and fix for the saml grant too? It now works
for the password and client credential grants.

On Wednesday, 1 June 2016, Pushpalanka Jayawardhana <[email protected]> wrote:

> Hi Sewmini,
>
> Please try sending the tenantDomain as a query param in the cURL command's
> token endpoint as below.
>
> https://localhost:9443/oauth2/token?tenantDomain=<tenantDomain>
>
>
> Thanks,
>
> On Wed, Jun 1, 2016 at 8:15 PM, Sewmini Jayaweera <[email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:
>
>> Adding [email protected] <javascript:_e(%7B%7D,'cvml','[email protected]');>
>>
>> Sewmini Jayaweera
>> *Software Engineer - QA Team*
>> Mobile: +94 (0) 773 381 250
>> [email protected] <javascript:_e(%7B%7D,'cvml','[email protected]');>
>>
>> On Wed, Jun 1, 2016 at 8:13 PM, Sewmini Jayaweera <[email protected]
>> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:
>>
>>> Hi APIM / IS teams,
>>>
>>> I am testing 'Exchanging SAML2 Bearer Tokens with OAuth2' (SAML
>>> Extension Grant Type) scenario for tenant user. I followed API manager
>>> documentation available [1] and scenario worked fine for the super tenant.
>>> When I try the tenant scenario I noticed when service provider and IDP
>>> created in IS tenant domain token generation fails. Reason is that even
>>> though SP is in the tenant domain system expects IDP in carbon.super
>>> tenant.
>>>
>>> Are there any specific configurations which should be done, in order to
>>> get the tenant scenario working ?
>>>
>>> I have also reported a Jira [2] on this explaining full scenario.
>>>
>>> [2]. https://wso2.org/jira/browse/APIMANAGER-4929
>>> [1].
>>> https://docs.wso2.com/display/AM1100/Exchanging+SAML2+Bearer+Tokens+with+OAuth2+-+SAML+Extension+Grant+Type
>>>
>>> Kind Regards,
>>> Sewmini.
>>>
>>> Sewmini Jayaweera
>>> *Software Engineer - QA Team*
>>> Mobile: +94 (0) 773 381 250
>>> [email protected] <javascript:_e(%7B%7D,'cvml','[email protected]');>
>>>
>>
>>
>
>
> --
> Pushpalanka.
> --
> Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
> Senior Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
> Mobile: +94779716248
> Blog: pushpalankajaya.blogspot.com/ | LinkedIn:
> lk.linkedin.com/in/pushpalanka/ | Twitter: @pushpalanka
>
>

-- 
Nuwan Dias

Technical Lead - WSO2, Inc. http://wso2.com
email : [email protected]
Phone : +94 777 775 729
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to