Table of contents
Book a Maia Demo
Enjoy the freedom to do more with Maia on your side.
Dark green abstract background with subtle gradient shapes and rounded corners.

OData was their most common source. Its only OAuth option was a plain-text secret.

November 26, 2026
Field Note
3 mins
9 days
approval to release, 5 inside the deadline
Summarise with AI

An industrial manufacturer running a Maia pilot uses OData APIs more than any other source, and those APIs sit behind OAuth 2.0. The OData component handled username and password natively, but the only route to OAuth was typing the token settings, client secret included, into plain-text connection options. That ruled out production. We added native OAuth 2.0 client credentials to the component in 9 days, 5 days inside the customer's deadline.

Why connection options weren't good enough

Connection options pass values straight to the driver as text. Whatever you put there is saved with the pipeline, so anyone who can open the pipeline can read it, and it lands in your Git history. A client secret belongs in a secret store, referenced by a connection, with the runner fetching and refreshing the token.

What we built

  • A new version of the OData component with an OAuth 2.0 Client Credentials authentication type beside Username & Password. Its OAuth connection holds the token URL, client ID, client secret, and an optional scope.
  • The secret stays a secret. It's stored as a connection secret, and the runner fetches and refreshes the access token using the client credentials support Maia already uses for other connectors.
  • Nothing breaks. Existing pipelines keep the component version they were built with and run unchanged, with no upgrade prompt. New pipelines see one OData component, not several.
  • Empty scopes stay out. If the scope is optional and left blank, Maia doesn't send an empty scope parameter.

How to set it up

  1. Register a client for your OData service with your identity provider. Note the token URL, client ID, and client secret, and the scope if it needs one.
  2. In Maia, create an OAuth connection for client credentials with those values.
  3. In the OData component, set Authentication Type to OAuth 2.0 Client Credentials, then choose the connection in Authentication.
  4. If your runner is hosted in your own network, check it can reach the token URL, and update it to a release that includes the new component.

What it took

The work was approved on 13 October with a deadline of 27 October, the customer's own date. Our test on a development runner fetched a token and loaded 12 rows into Snowflake, and the component shipped in the runner release of 22 October, 5 days before the deadline.

What to watch for

  • Existing pipelines don't switch on their own. To use client credentials, add the current OData component.
  • App-to-app only. An OData service that needs a user to sign in (the authorization code flow) isn't covered.
  • Token authentication method. Maia sends the client ID and secret in a Basic authorization header (client_secret_basic), which every OAuth 2.0 server must support. If your provider issues tokens that last under 30 minutes, expect a token request on most connection lookups, because the runner refreshes any token with under 29 minutes left.

Where else this applies

Plenty of enterprise applications expose OData behind OAuth, including SAP Gateway services and Microsoft Dynamics 365. If a connector only accepts a secret as a plain-text option, fix that before production rather than working around it.

Frequently Asked Questions

Does Maia's OData component support OAuth?

Yes, with the OAuth 2.0 client credentials grant, alongside Username & Password.

Where is the client secret stored?

As a connection secret, never in the pipeline definition.

Do existing OData pipelines need upgrading?

No. They keep their version and run unchanged. To use client credentials, add the current OData component.

Does it support the authorization code flow?

No. This option is client credentials, for app-to-app access.

Last updated
November 26, 2026
Ben Bajek
Principal Forward Deployed Engineer, Matillion

Data management
made effortless

Enjoy the freedom to do more with Maia on your side.
Abstract dark teal geometric shapes background with diagonal lines and subtle gradients.