-
Notifications
You must be signed in to change notification settings - Fork 204
Description
Is your feature request related to a problem?
Since 2.14 we introduced workspace, and when user enter a workspace, the deep link will become like http://localhost:5601${basePath}/w/${workspaceId}/app/workspace_detail
. And if user's authentication status expired, security plugin will redirect user to the login page with url like http://localhost:5601${basePath}/app/login?nextUrl=/app/workspace_detail
, and the workspaceId info will be erased as in core we rewrite the path to keep existing APIs working.
What solution would you like?
For OSD core, provides a function to handle all kinds of prefix prepending work and for security plugin, use the function provided by core to generate the nextUrl, for example,
http://localhost:5601${basePath}/app/login?nextUrl=/w/${workspaceId}/app/workspace_detail
What alternatives have you considered?
A clear and concise description of any alternative solutions or features you've considered.
Do you have any additional context?
Add any other context or screenshots about the feature request here.