Skip to content

Custom API Auth Options #166

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
pornelas82 opened this issue Jan 5, 2023 · 3 comments
Open

Custom API Auth Options #166

pornelas82 opened this issue Jan 5, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@pornelas82
Copy link

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
Copy link
Contributor

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 neon-balcony added the enhancement New feature or request label Jan 5, 2023
@brycefranzen
Copy link

Any updates on this?

@pornelas82
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants