a.getPath(true, true)

This commit is contained in:
mr
2026-02-10 10:53:13 +01:00
parent 484154a48d
commit 5f7289bb05

View File

@@ -244,6 +244,7 @@ func (a HydraConnector) Introspect(token string, cookie ...*http.Cookie) (bool,
urls.Add("token", token) urls.Add("token", token)
resp, err := a.Caller.CallForm(http.MethodPost, a.getPath(true, true), "/introspect", urls, resp, err := a.Caller.CallForm(http.MethodPost, a.getPath(true, true), "/introspect", urls,
"application/x-www-form-urlencoded", true, cookie...) "application/x-www-form-urlencoded", true, cookie...)
fmt.Println(a.getPath(true, true))
if err != nil || resp.StatusCode >= 300 { if err != nil || resp.StatusCode >= 300 {
return false, err return false, err
} }