openblocks icon indicating copy to clipboard operation
openblocks copied to clipboard

Custom API Auth Options

Open pornelas82 opened this issue 2 years ago • 3 comments

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

pornelas82 avatar Jan 05 '23 07:01 pornelas82

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 😄

neon-balcony avatar Jan 05 '23 11:01 neon-balcony

Any updates on this?

brycefranzen avatar May 12 '23 15:05 brycefranzen

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

pornelas82 avatar May 13 '23 06:05 pornelas82