Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 16, 2024. It is now read-only.

Conversation

@keymon
Copy link
Contributor

@keymon keymon commented Sep 22, 2023

What changed?

Add the IdentityGroupFilter to CF parameter list, to
fix the issue #621

Why?

Otherwise the change is ignored

How did you test it?

Manually, using a manifest like below and running gdeploy update

version: 2
deployment:
  stackName: commonfate-non-prod
  account: "1234567890"
  region: us-west-2
  release: v0.15.6
  parameters:
    CognitoDomainPrefix: common-fate-non-prod-login-mycompany
    AdministratorGroupID: vhjdsfbkgbsakdng1
    IdentityProviderType: okta
    SamlSSOMetadataURL: https://mycompany-test.oktapreview.com/app/exka4ccnoe1AZdYy91d7/sso/saml/metadata
+    IdentityGroupFilter: "Okta-App.*Commonfate|commonfate_example.*"
    ProviderConfiguration:
      okta:
        uses: commonfate/okta@v1
        with:
          apiToken: awsssm:///granted/providers/okta/apiToken:1
          orgUrl: https://mycompany-test.oktapreview.com
    IdentityConfiguration:
      okta:
        apiToken: awsssm:///granted/secrets/identity/okta/token:4
        orgUrl: https://mycompany-test.oktapreview.com/

Checking a unit test

Potential risks

none I can think about

Is patch release candidate?

dunno

Link to relevant docs PRs

#621
https://docs.commonfate.io/common-fate/sso/filtering-user-group-import

@shwethaumashanker
Copy link
Contributor

Hi @keymon Can you please fix:
Screenshot 2023-09-22 at 12 22 27 PM

I tried to add the error handling but did not have permission to update your branch

Copy link
Contributor

@chrnorm chrnorm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thankyou @keymon!

@chrnorm chrnorm merged commit a9b7fcb into common-fate:release/v0.15 Sep 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants