RedHat-Middleware-Workshops / dayinthelife-integration

Day in the Life Agile Integration Workshop
73 stars 93 forks source link

`3scale-admin` user is used for all 3scale logins #279

Open VinayBhalerao opened 5 years ago

VinayBhalerao commented 5 years ago

Steps:

  1. Spinned up Integreatly workshop on RHPDS
  2. Ran the installation scripts from v2 branch https://github.com/RedHatWorkshops/dayinthelife-integration/blob/V2/support/install/RHPDSInstallation.md
  3. Verified that the env is provisioned correctly
  4. The generated URL to setup was https://tutorial-web-app-webapp.apps.mountainview-0a62.openshiftworkshop.com/
  5. Entered crendentials user1/openshift on RHSSO login page
  6. The solution explorer page is displayed
  7. Clicked on Red Hat 3scale API Management
  8. The login url was https://3scale-admin.apps.mountainview-0a62.openshiftworkshop.com/p/login

Expected results At step 8, the login URL should be https://user1-admin.apps.mountainview-0a62.openshiftworkshop.com/p/login

VinayBhalerao commented 5 years ago

cc @aidenkeating @maleck13

aidenkeating commented 5 years ago

@VinayBhalerao If you click on 3scale Admin Dashboard at the right-hand side of the web app does it work as expected? Red Hat 3scale API Management is a default Integreatly link which always points to the admin route

VinayBhalerao commented 5 years ago

@aidenkeating But if I am logged as a user (note: step 5)..the the URL should be https://user1-admin.apps.mountainview-0a62.openshiftworkshop.com/p/login and not 8\. https://3scale-admin.apps.mountainview-0a62.openshiftworkshop.com/p/login

aidenkeating commented 5 years ago

@VinayBhalerao In the default Integreatly installation we include a button on the right-hand side of the webapp that always points to 3scale-admin. This default button is titled Red Hat 3scale API Management, ensure this is not the button you're clicking.

(There is a config that allows you to remove this default button, it's not used in DIL V2 at the moment.)

In the DIL addon we add two extra buttons to the right-hand side of the webapp that should work as you expect. One of those buttons has the title 3scale Admin Dashboard, this is the one that should be used in DIL. Can you confirm that when you click the 3scale Admin Dashboard button you're seeing this issue?

If it is, do you have a link to the cluster you're testing this on?

VinayBhalerao commented 5 years ago

@aidenkeating that clears..I think in the instructions somewhere it was written to click on Red Hat 3scale API Management...sorry for the flag..I will update it to use 3scale admin dashboard

Yes, please check the config and see if it's easy to remove Red Hat 3scale API Management if logged it as a userX

aidenkeating commented 5 years ago

@VinayBhalerao There is a way to remove the default Red Hat 3scale API Management button from the webapp. I can make a PR to the V2 branch to address this.