Closed ZarTrox closed 2 years ago
@ZarTrox, thank you for opening this issue. We will triage it within the next few business days.
I would also very much appreciate if DEVs in our teams would be able to simply copy the URL from the browser address bar without the need and efforts to decode it before providing the deep link in emails or chats to other colleagues or partners.
Alternatively, it would be at least an improvement if you would offer a "Copy deep link" button on the API details page widget.
And it would be perfect, if you would also provide an option to always link to the first operation of the latest version of an API .
Hello folks, yes, it was just a bug in portal's backend, we have just fixed it. It'll go to nearest service release.
@ZarTrox, thank you for reporting the bug.
Bug description
Deep linking to a (api operation) page in the DevPortal requires extra steps like changing & decoding the URL to this format:
https://{DevPortal environment base URL}/returnUrl=/api-gallery/details{URL decoded hash key path for the specific API version}
e.g.
https://devportal-sandbox.com/signin?returnUrl=/api-gallery/details%23api%3Dexample-api-v2
This works in the sense that users who receive a link like this are forwarded to the specified page after login in again, even if there is an current active DevPortal window/session. This raised some questions in our team and does not seem like intended behavior.
Reproduction steps
Expected behavior
After pasting and entering the decoded deep link URL the user should be immediately forwarded to the specified page without logging in again if there is an active session. This should obviously not undermine any security measure.
Is your portal managed or self-hosted?
Managed