-
Notifications
You must be signed in to change notification settings - Fork 2
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
switch idp for regression test to login-gov #504
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as well as the previous ID me tests used to work. Maybe will try to recover the old 043 user for login.gov. I think that account still exists.
Before you can move this from draft, you need to align this with the new environment variables. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Makefile needs updating too.
lighthouse-saml-proxy/Makefile
Lines 106 to 118 in d69c60a
regression: @:$(call check_defined, IMAGE, IMAGE variable should be saml-proxy-tests) docker run \ -v "/var/run/docker.sock:/var/run/docker.sock" \ --rm $(REPOSITORY)/$(NAMESPACE)/$(IMAGE):$(TAG) \ --saml-proxy-url=$(SAML_PROXY_URL) \ --client-id=$(CLIENT_ID) \ --idp=$(IDP) \ --authorization-url=$(AUTHORIZATION_URL) \ --user-password=$(USER_PASSWORD) \ --valid-user=$(VALID_USER_EMAIL) \ --icn-error-user=$(ICN_ERROR_USER_EMAIL) --regression-test-timeout=$(REGRESSION_TEST_TIMEOUT)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The entrypoint_test.sh needs adjusting as well.
… the regression tests
|
Draft PR for changing IDP for the regression tests for SAML-Proxy to Login-Gov for better stability
With The 'ICN Errors' test its failing right now in the sandbox env but not the dev env. In sandbox its still able to get an access token and redirect the url even when using the user: [email protected] with the faulty ICN number, I did a manually test with Postman with that user in the dev env and did get the correct output, the expected Match Error page but in sandbox I am able to get the access token and it executes the redirect, so not sure why there is different behavior depending on the environment, Going to do further poking around to see what's going on with mpi
The 'modify' test I am still trying to figure out why its failing
Link to sh file with export values to run the regression test locally: keybase://team/lighthouse_pivot/configs/saml-proxy/regression-test-envs.sh
Added the new env vars to the param store to align with the regression tests, kept the old idme ones for history but added the new login-gov ones: SAML-proxy param store