You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If form received OK (200) response code from API, then it should redirect user back to external app and pass received authorisation code, form should be closed. In case of Forbid (403) response code – error message should be displayed for user.
For providing the ability for users to auth in to external applications by using an ecampus account we need to create a special login form.
This form should support the redirect back to the external application page and pass the authorisation code.
Route for login form: https://ecampus.kpi.ua/login/external
Query parameters which should handle form:
For auth user form should make POST request on endpoint: https://ecampus.kpi.ua/oauth/app/authorize
Structure of POST request:
If form received OK (200) response code from API, then it should redirect user back to external app and pass received authorisation code, form should be closed. In case of Forbid (403) response code – error message should be displayed for user.
This task should be implemented together with https://github.com/kpi-ua/api.campus.kpi.ua/issues/23
The text was updated successfully, but these errors were encountered: