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

Support OAuth 2.0 client credentials flow #33

Merged
merged 5 commits into from
Nov 30, 2024
Merged

Support OAuth 2.0 client credentials flow #33

merged 5 commits into from
Nov 30, 2024

Conversation

hgiasac
Copy link
Collaborator

@hgiasac hgiasac commented Nov 27, 2024

  • Support OAuth 2.0 client credentials flow
  • Refactor the authentication module to use multiple HTTP clients.
  • Move content-type encoders and decoders to the subpackage contenttype

Copy link

github-actions bot commented Nov 28, 2024

Code Coverage

Package Line Rate Health
github.com/hasura/ndc-http/connector 49%
github.com/hasura/ndc-http/connector/internal/auth 65%
github.com/hasura/ndc-http/connector/internal 56%
github.com/hasura/ndc-http/connector/internal/contenttype 64%
github.com/hasura/ndc-http/ndc-http-schema/configuration 60%
github.com/hasura/ndc-http/ndc-http-schema/openapi/internal 50%
github.com/hasura/ndc-http/ndc-http-schema/openapi 40%
github.com/hasura/ndc-http/ndc-http-schema/schema 36%
github.com/hasura/ndc-http/ndc-http-schema/utils 44%
Summary 52% (3680 / 7062)

Minimum allowed line rate is 40%

@hgiasac hgiasac changed the title Support OAuth and mTLS Support OAuth2 Client Credentials grants Nov 30, 2024
@hgiasac hgiasac changed the title Support OAuth2 Client Credentials grants Support OAuth 2.0 client credentials flow Nov 30, 2024
@hgiasac hgiasac marked this pull request as ready for review November 30, 2024 04:28
@hgiasac hgiasac merged commit 31a87a9 into main Nov 30, 2024
4 checks passed
@hgiasac hgiasac deleted the support-oauth branch November 30, 2024 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant