AuthCustomDomainCallback returns the URL with state for custom domain callback
(state string)
| 188 | |
| 189 | // AuthCustomDomainCallback returns the URL with state for custom domain callback |
| 190 | func (u *URLs) AuthCustomDomainCallback(state string) string { |
| 191 | res := urlutil.MustJoinURL(u.External(), "/auth/custom-domain-callback") // NOTE: Uses custom domain |
| 192 | if state != "" { |
| 193 | res = urlutil.MustWithQuery(res, map[string]string{"state": state}) |
| 194 | } |
| 195 | return res |
| 196 | } |
| 197 | |
| 198 | // AuthLogout returns the URL that starts the logout redirects. |
| 199 | func (u *URLs) AuthLogout() string { |
no test coverage detected