Skip to content
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

oauth: allow using templates in OAuth response template #1010

Merged
merged 1 commit into from
Apr 21, 2023

Commits on Apr 19, 2023

  1. oauth: allow using templates in OAuth response template

    airbyte has recently introduced new fields to their OAuth response
    mappings, which need processing. In this case, we have AirTable which
    requires the `expires_in` field of response to be added to `now()` and
    rendered as an RFC3339 date to work. So I'm adding a condition here
    which allows response map to be rendered using a template instead of
    just jsonpointer.
    
    In hindsight, we can probably just get rid of jsonpointers here and use
    mustache templates for the responseMap since it can do the same job
    anyway. For now I'm keeping both.
    mdibaiee committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    6f3a78f View commit details
    Browse the repository at this point in the history