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

Update login link for API providers to be redirected on homepage #1141

Open
2 of 3 tasks
timng-bcgov opened this issue Aug 19, 2024 · 2 comments
Open
2 of 3 tasks

Update login link for API providers to be redirected on homepage #1141

timng-bcgov opened this issue Aug 19, 2024 · 2 comments
Labels

Comments

@timng-bcgov
Copy link

timng-bcgov commented Aug 19, 2024

API Services Portal Issue

User Story

As a API Provider,

I want to be redirected to the Gateways manager on login to the Services Portal

so that the login experience is consistent between links.

Test Case

ENV

  • DEV
  • TEST
  • PROD

TESTCASE

Navigate to the test or dev instance of the API Services Portal.

Click on the API provider login link on the homepage card and log in with IDIR.

image

EXPECTED

The API provider is directed to the Gateways section of the Services Portal (/manager/gateways/list or /manager/gateways/get-started).

ACTUAL

The API provider is directed to the API Directory.

Notes

The URL on the homepage card has a shorter query parameter missing the auth-callback (https://api-gov-bc-ca.test.api.gov.bc.ca/login?identity=provider&f=%2F) compared to the Login dropdown (https://api-gov-bc-ca.test.api.gov.bc.ca/login?identity=provider&f=%2Fauth_callback%3Fidentity%3Dprovider).

image

@rustyjux
Copy link
Contributor

Love this issue and it had been bugging me as well.

I think the issue description is a little mixed (expected vs actual). The actual state is when user uses the For API Providers link from home page, they are directed through to API Directory. Whereas the Login > API Provider dropdown goes to Gateways as expected.

We want both 'API Provider' login routes to go to Gateways, right?

@timng-bcgov
Copy link
Author

Ah yes, I just swapped the cases. Editing now. Thanks for pointing that out :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants