microlinkhq / open

4 stars 2 forks source link

Added login options to fetch data from secured site. #15

Closed wotta closed 5 years ago

wotta commented 5 years ago

Feature Request

I think it would be a great feature to allow people authenticate on secured sites with this api.

For example I use a service that holds my payment information, but the site itself is not too user friendly.

I have an other application however which I would rather use to import the data from the external website.

But I do need to login to get access to that data.

Hopefully the idea is clear.

Kikobeats commented 5 years ago

Hello and thanks for submitting your feedback 🙂

The service is currently oriented to reach public URLs. In case your URL is under the login panel or so, need to encode the authorization inside the URL as a query string.

The point, even the URL is under an authorization step, the service can reach it because all the information is inside the URL.

In case the target URL need to use localStorage or cookies for any extra validation that should be possible right now using prerender.

I'm going to reference your issue into the documentation; Currently, we don't have a clear workflow to reach this using the API, but that's could be changed in the future 🙂