openblocks-dev / openblocks

🔥 🔥 🔥 The Open Source Retool Alternative
https://cloud.openblocks.dev
GNU Affero General Public License v3.0
5.89k stars 361 forks source link

Custom API Auth Options #166

Open pornelas82 opened 1 year ago

pornelas82 commented 1 year ago

Hi All.

Looking at migrating from retool to superblocks, but just wondering how we can use a custom auth for API keys such as the resource available in retool where we can specify details in the body params as well as define a variable to use as the api key?

so basue url blahblah.com/WebAPI

Headers ApiKey: Value of "password" ApiKeyExpiration: Value of "timeout"

Authentication: Custom Auth Post: blahblah.com/webapi/api/authentication Body:JSON

Body Params: User: username Password:user password location: 777

Define Variable: password value: {{ http1.body.ApiKey }}

timeout {{ http1.body.ApiKeyExpiration }}

Auth trigger: re run every twenty mins

is this currently achjeivable for a starting resource in openblocks or as a query library?

Cheers

neon-balcony commented 1 year ago

Hey @pornelas82 ,

Thanks for the post! Actually this is a planned feature that enables you orchestrates multiple queries to get a result, and then we can combine this function with our REST API customized authorization. This feature should be ready around this February or March, please stay tuned for that 😄

brycefranzen commented 1 year ago

Any updates on this?

pornelas82 commented 1 year ago

last i heard this project was abandoned and they moved to a new renamed version of this.