Skip to content

Thirdparty App

Alexander Koglin edited this page Oct 18, 2016 · 1 revision

Third Party App

The 'restaurantfrontend' branch contains a simple web application which uses the API implemented in the master branch. The application has three views:

  • Home: contains a link to the login page. The 'Login' link leads to the WSO2 API Manager login (containing the Client ID). There, the user will login and allow access to the API. Then, the API Manager will redirect the user to the Application Login page.
  • Login: Login merely exists to perform a post request to the API Manager and receive the Access Token. The token will then be written into a cookie and the user will be redirected to the /products URI.
  • Products: The Server uses the API with the token found in the cookie to the API Manager.

Useful WSO2 Doc: https://docs.wso2.com/display/AM190/Generating+Access+Tokens+with+Authorization+Code+-+Authorization+Code+Grant+Type

Frameworks / Products used:

Clone this wiki locally