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
{{ message }}
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.
We need to authenticate some external requests to Terra tools. For instance, un screenshot service that can capture the current map for extraction, pdf inclusion, …
Proposal
We can bypass the current authentication mechanism if the JWT token is in an HTTP header.
Workflow
I visit the login page
I give my credentials for authentication
I'm now identified, the front app do a request to the back and a token is saved
I click on the capture button of any map
A request is sent to the capture tool with the URL and the saved token
The tool make the capture of the URL transmitting the token in header or body
The front get the request with the token so drop the authentication phase and save the token in local storage
The capture tool can now take the capture of the protected page
The text was updated successfully, but these errors were encountered:
What we want ?
We need to authenticate some external requests to Terra tools. For instance, un screenshot service that can capture the current map for extraction, pdf inclusion, …
Proposal
We can bypass the current authentication mechanism if the JWT token is in an HTTP header.
Workflow
The text was updated successfully, but these errors were encountered: