Closed RyouZhang closed 1 year ago
custom client URLSchema
But in ServiceTicketValidator,ServiceValidateUrl then path is hard-code???
func (validator ServiceTicketValidator) ServiceValidateUrl(serviceUrl url.URL, ticket string) (string, error) { u, err := validator.casUrl.Parse(path.Join(validator.casUrl.Path, "serviceValidate"))
Hi, the CAS URIs are a codified part of the specification
https://apereo.github.io/cas/5.1.x/protocol/CAS-Protocol-Specification.html#2-cas-uris
custom client URLSchema
But in ServiceTicketValidator,ServiceValidateUrl then path is hard-code???
func (validator ServiceTicketValidator) ServiceValidateUrl(serviceUrl url.URL, ticket string) (string, error) { u, err := validator.casUrl.Parse(path.Join(validator.casUrl.Path, "serviceValidate"))