Hi Francisco,

Your scenario seems possible with WSO2 Identity Server 5.0.0.

Let me explain the flow you wanted to have.

Step 1 : User access a mobile application. It requires user to be
authenticated to access the application.
Step 2 : App opens a web view and user will redirected to IS login page.
Step 3 : User enters it's credentials and get to auth code then finally
obtains the oauth access token.
Step 4 : In the mobile app user click a link which pointed to salesforce,
its open a web view and try to access the salesforce domain
(Salesforce domain configured to login with Identity Server using SAML2)
Step 5 : Salesforce redirects IS to do authentication
Step 6 : Since user already authenticated in Step 3, so it will bypass the
login page, generates and send SAML response to the salesforce.
Step 7 : Salesforce verify the SAML response and user get logged in to the
salesforce domain.

The most important step is Step 6. Here its depends on the fact that the
web view will share the same session between Step 3 & Step 6.


Thanks,
Darshana.



On Fri, Oct 9, 2015 at 11:00 PM, Júnior <[email protected]> wrote:

> Hi,
>
> I have the following scenario:
>
> The customer has an application, mobile application, that he will use
> OAuth for users login. It will be used WSO2IS for OAuth provider.
>
> After the user has logged into the system and have the AccessCode, he'd
> like to have a link on a web view, for example to salesforce that is
> connected to the WSo2, and using the access token already have the user
> authenticated on Salesforce.
>
> Is it possible?
>
> I've already setup salesforce to login against wso2 via SAML. Is there any
> way of once we had the oauth token we create the saml assertation for the
> user to log into salesforce?
>
> Thanks
> --
> Francisco Ribeiro
> *SCEA|SCJP|SCWCD|IBM Certified SOA Associate*
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Regards,


*Darshana Gunawardana*Senior Software Engineer
WSO2 Inc.; http://wso2.com

*E-mail: [email protected] <[email protected]>*
*Mobile: +94718566859 <%2B94718566859>*Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to