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 <sewm...@wso2.com> wrote:

> Adding dev@wso2.org
>
> Sewmini Jayaweera
> *Software Engineer - QA Team*
> Mobile: +94 (0) 773 381 250
> sewm...@wso2.com
>
> On Wed, Jun 1, 2016 at 8:13 PM, Sewmini Jayaweera <sewm...@wso2.com>
> 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
>> sewm...@wso2.com
>>
>
>


-- 
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
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to