This reverts commit eae6d355f8ef35ea446839af76bed7a96b072fbb.
We have added the new callback path logic (see b21f003), so we can stop skipping
this test.
We were assuming that env.SupervisorHTTPAddress was set, but it might not be
depending on the environment on which the integration tests are being run. For
example, in our acceptance environments, we don't currently set
env.SupervisorHTTPAddress.
I tried to follow the pattern from TestSupervisorOIDCDiscovery here.
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
Prior to this we re-used the CLI testing client to test the authorize flow of the supervisor, but they really need to be separate upstream clients. For example, the supervisor client should be a non-public client with a client secret and a different callback endpoint.
Signed-off-by: Matt Moyer <moyerm@vmware.com>
This will allow it to be imported by Go code outside of our repository, which was something we have planned for since this code was written.
Signed-off-by: Matt Moyer <moyerm@vmware.com>
This is 99% Andrew's code from 4032ed32aebde02786a51ed9800330d1b8705211, but tweaked to work with the new UpstreamOIDCProvider setup.
Signed-off-by: Matt Moyer <moyerm@vmware.com>