Search before asking
Problem Description
Is your feature request related to a problem? Please describe.
Currently, the gateway module only supports the sso-login path for SSO authentication. Some systems or configurations may prefer the standard RESTful path format sso/login, but this is not currently supported, limiting integration flexibility.
Description
A short description of your feature
Add support for the sso/login path in the gateway module to provide SSO authentication through both sso-login and sso/login paths, maintaining backward compatibility.
Use case
Describe the use case of your feature request and the solution you'd like.
Systems that integrate with Linkis gateway for SSO authentication can now use the more standard RESTful path format sso/login while maintaining compatibility with existing systems using sso-login.
Solutions
Describe alternatives you've considered.
- Alternative 1: Replace
sso-login with sso/login entirely - This would break backward compatibility.
- Alternative 2: Support both paths (chosen) - This maintains backward compatibility while providing the new format.
Anything else
Additional context or screenshots about the feature request.
The change is minimal and only affects the path matching logic in the UserRestful class, allowing both path formats to route to the same SSO login handler.
Are you willing to submit a PR?
Search before asking
Problem Description
Is your feature request related to a problem? Please describe.
Currently, the gateway module only supports the
sso-loginpath for SSO authentication. Some systems or configurations may prefer the standard RESTful path formatsso/login, but this is not currently supported, limiting integration flexibility.Description
A short description of your feature
Add support for the
sso/loginpath in the gateway module to provide SSO authentication through bothsso-loginandsso/loginpaths, maintaining backward compatibility.Use case
Describe the use case of your feature request and the solution you'd like.
Systems that integrate with Linkis gateway for SSO authentication can now use the more standard RESTful path format
sso/loginwhile maintaining compatibility with existing systems usingsso-login.Solutions
Describe alternatives you've considered.
sso-loginwithsso/loginentirely - This would break backward compatibility.Anything else
Additional context or screenshots about the feature request.
The change is minimal and only affects the path matching logic in the UserRestful class, allowing both path formats to route to the same SSO login handler.
Are you willing to submit a PR?