Re: [Dev] Error while validating the signature in SAML Grant Type

2017-01-22 Thread Ayyoob Hamza
After having a offline discussion with Johann, decided to go with a custom grant type approach by extending the saml grant type impl. *Ayyoob Hamza* *Software Engineer* WSO2 Inc.; http://wso2.com email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%207779495> On Tue, Jan 17, 2017 at 9:45 AM,

Re: [Dev] Error while validating the signature in SAML Grant Type

2017-01-16 Thread Ayyoob Hamza
Hi All, This is an update to provide more context to the problem. Currently in IoT Server we have device type apis for each tenants that are exposed through api manager. In order to access it we create an AM Application and then we subscribe to the tenants apis. This works fine when we use the

Re: [Dev] Error while validating the signature in SAML Grant Type

2017-01-15 Thread Ayyoob Hamza
> Is the service provider created in super tenant and the rest of tenants > access it as a SaaS app? > Yes. > > Also what is oauth component version used in IoT server? > 5.1.2 Is there any solution other than writing a custom grant type for this since in the current grant type implementation it

Re: [Dev] Error while validating the signature in SAML Grant Type

2017-01-11 Thread Farasath Ahamed
Is the service provider created in super tenant and the rest of tenants access it as a SaaS app? Also what is oauth component version used in IoT server? On Jan 11, 2017 9:47 PM, "Vishanth Balasubramaniam" wrote: Hi, In WSO2 IoT, we have created a service provider for our

[Dev] Error while validating the signature in SAML Grant Type

2017-01-11 Thread Vishanth Balasubramaniam
Hi, In WSO2 IoT, we have created a service provider for our webapp and we use SAML grant type to create OAUTH Token. This works fine for the super tenant mode, but it fails for the tenant flow with the following error ERROR - SAML2BearerGrantHandler Error while validating the signature.