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

Allow to specify multiple appIDs depending on role #8

Open
harnyk opened this issue Mar 16, 2023 · 0 comments
Open

Allow to specify multiple appIDs depending on role #8

harnyk opened this issue Mar 16, 2023 · 0 comments

Comments

@harnyk
Copy link

harnyk commented Mar 16, 2023

Problem

Currently, one account can only be associated with one appID. This seems to be an issue, because some configurations a specific appID per each role.

Solution

Allow to optionally specify multiple appIDs depending on role using a map field appIDsByRole in the account struct.

Example:

accounts:
  - name: ACME Dev
    appIDsByRole:
      admin: "123456"
      readonly: "987654"
    accountID: "111111111111"
    profileName: acme-dev

roles:
  - admin
  - readonly

Backwards compatibility

This is backwards compatible, because if appIDsByRole is not specified, the appID field is used.

harnyk pushed a commit to harnyk/onelogin-auth-cli that referenced this issue Mar 16, 2023
wardviaene pushed a commit that referenced this issue Mar 20, 2023
multiple appID depending on role #8
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

No branches or pull requests

1 participant