[AMCUFA OAuth] Add /authorize api to UI, async .JS(Ajax) with popup click
ikp4success opened this issue · comments
- AMCUFA solution UI will perform async Ajax calls in the background periodically by calling
/validate_request
. - AMCUFA solution UI will /validate_request for every initiated api requests that needs AMC access.
* AMCUFA solution UI will call /authorize with auth code parameters if /validate_request returns with an authorize_url pop_up.
* Auth token comes back as a param in the return url (provided by /validate_request) and it is to be used within 5 minutes to generate an access and refresh token using /authorize . [ref]
* When user clicks logout on the solution /reset_token is called.
*