Skip to content

Add OIDC middleware#599

Merged
Assem-Uber merged 4 commits intocadence-workflow:masterfrom
mantas-sidlauskas:oidc
Aug 8, 2024
Merged

Add OIDC middleware#599
Assem-Uber merged 4 commits intocadence-workflow:masterfrom
mantas-sidlauskas:oidc

Conversation

@mantas-sidlauskas
Copy link
Member

Adding OpenID Connect (OIDC) middleware.

  • The OIDC middleware allows users to authenticate using external identity providers (IdPs) providers. (Okta, AWS Cognito, Auth0, Google, etc)
  • Configuration can be passed as env variables or using dedicated configuration file.
  • Middleware will check for token exp time to avoid situation when expired token is sent to Cadence Server

@Assem-Uber
Copy link
Contributor

Thanks for working on it @mantas-sidlauskas, i'm out for 2 weeks and will take a look once back.

@mantas-sidlauskas
Copy link
Member Author

Thanks for working on it @mantas-sidlauskas, i'm out for 2 weeks and will take a look once back.

sure, thanks!

@Assem-Uber
Copy link
Contributor

LGTM, can you please add an example usage in the readme file
BTW the build is failing and need to run npm run lint

@mantas-sidlauskas
Copy link
Member Author

LGTM, can you please add an example usage in the readme file BTW the build is failing and need to run npm run lint

I'm planning to add README.md in the next PR where I will check in code if this middleware has to be enabled.

@Assem-Uber Assem-Uber merged commit d9a9c51 into cadence-workflow:master Aug 8, 2024
@Assem-Hafez Assem-Hafez mentioned this pull request Aug 9, 2024
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.

3 participants