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

Dynamic IdP configuration after container starts #5

Open
neerolyte opened this issue Dec 7, 2017 · 0 comments
Open

Dynamic IdP configuration after container starts #5

neerolyte opened this issue Dec 7, 2017 · 0 comments

Comments

@neerolyte
Copy link
Contributor

neerolyte commented Dec 7, 2017

In my environment it's impractical to predict the path the SP remote ends up on until after we already need to have started the IdP container, we also use a different SP remote for each test case. I would also like the ability to configure users and their metadata from within tests so that it's trivial to see the important bits of the environment set up for the test and the test assertions in a single spot. I also create unique usernames in tests currently so that when a test is being run locally we can keep adding users from the same test without having username collisions in our app.

While this is all likely achievable using volume mounts over the config files shared between multiple containers, that requires our test containers knowing about the file system layout in the IdP container and assuming that that will never change.

I'd like a simple API deployed in the IdP container to make changes via basic POST requests for at least adding:

  • a new SP remote
  • a new user and metadata to the example-userpass auth source

I've started mocking that out in master...neerolyte:dynamic-test-config and I'd like feedback on whether you'd merge something like this if you have a chance.

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