Re: Redirection to another application using UAA : Best Practices required
Sree Tummidi
Hi Rajan,
The best practice to use UAA as the OAuth Authorization Server and enable your Application as an OAuth Client. You need to register an OAuth client for your App and as part of the registration specify the redirect URI. Since you have a web application , you have two choices in terms of the grant type . You can either use the Authorization Code or Implicit (If you have a Single Page App) Your application needs to redirect to the OAuth Authorize End Point. UAA will take care of authenticating and authorizing the user and redirecting to the app with the token. Please refer to the UAA docs here : http://docs.cloudfoundry.com/uaa/?http#authorization-code-grant http://docs.cloudfoundry.com/uaa/?http#authorization-code-grant13 http://docs.cloudfoundry.com/uaa/?http#create90 Thanks, Sree Tummidi Staff Product Manager Identity - Pivotal Cloud Foundry On Tue, Sep 27, 2016 at 4:23 AM, Rajan vakharia <rajan.vakharia(a)gmail.com> wrote: Cloud Foundry UAA Behaviour: |
|