harsh-harlequin
harsh-harlequin5mo ago

[Solved ✅] Auth Config YAML Help

Hey guys - can someone assist me with creating the Auth Config YAML for a Custom tool? I have an API that takes a basic login (user/pass) and returns a JWT that needs to be included in future api calls. Not sure how to do it based on the documentation.
2 Replies
flat-fuchsia
flat-fuchsia5mo ago
Hey @yobroseidon, We don't support it yet I believe. Let me try to get that added and get back to you in a couple of days.
rare-sapphire
rare-sapphire5mo ago
hey @yobroseidon we just added support for this and will pushing it to production in next 3-4 hours. here's you can define it in the Auth Config YAML file:
- name: your_app_name
auth_mode: BASIC_WITH_JWT
proxy:
base_url: "base_url_here"
headers:
Authorization: "Bearer {{access_token}}"
token_url: token_url_here
fields: []
- name: your_app_name
auth_mode: BASIC_WITH_JWT
proxy:
base_url: "base_url_here"
headers:
Authorization: "Bearer {{access_token}}"
token_url: token_url_here
fields: []
Also what app are you trying this with?

Did you find this page helpful?