Add functionality for an application to have an API
Summary
Adds support for communication between Labrador applications.
Checklist
All items on this checklist should be checked.
-
I have added a changelog entry. -
I have added tests for the functionality that I added. -
I adhere to the style guide.
Technical details
The authentication workflow is as follows:
- App 1 asks core where 'App 2' is located
- App 1 sends a request to
/api/authenticate
on App 2 - App 2 asks core to see if App 1 is an authenticated Labrador app
- App 2 generates an API token valid for 1 hour and sends it to App 1
- App 1 can then communicate with App 2 without help from core until the token expires
Edited by Ruben Backx
Merge request reports
Activity
added 15 commits
-
7529e766...cb64611e - 14 commits from branch
development
- c8644d83 - Add functionality for an application to have an API
-
7529e766...cb64611e - 14 commits from branch
added 1 commit
- 30d3f79b - Add functionality for an application to have an API
added 20 commits
-
30d3f79b...4bd77b02 - 19 commits from branch
development
- 13574160 - Add functionality for an application to have an API
-
30d3f79b...4bd77b02 - 19 commits from branch
mentioned in merge request queue!732 (merged)
mentioned in merge request tam!345 (merged)
- Resolved by Cédric Willekens
- Resolved by Ruben Backx
mentioned in issue tam#232 (closed)
added 91 commits
-
1061ae18...0a43f634 - 89 commits from branch
development
- b09340fa - Add functionality for an application to have an API
- 27e7f904 - Add authentication between labracore apps
-
1061ae18...0a43f634 - 89 commits from branch
Please register or sign in to reply