GithubConnectSuccessUI returns the page in the Rill frontend for a successful Github connect.
(autoclose bool)
| 295 | |
| 296 | // GithubConnectSuccessUI returns the page in the Rill frontend for a successful Github connect. |
| 297 | func (u *URLs) GithubConnectSuccessUI(autoclose bool) string { |
| 298 | res := urlutil.MustJoinURL(u.frontend, "/-/github/connect/success") // NOTE: Always using the primary frontend URL. |
| 299 | if autoclose { |
| 300 | res = urlutil.MustWithQuery(res, map[string]string{"autoclose": "true"}) |
| 301 | } |
| 302 | return res |
| 303 | } |
| 304 | |
| 305 | // GithubRetryAuthUI returns the page in the Rill frontend for retrying the Github auth flow. |
| 306 | func (u *URLs) GithubRetryAuthUI(remote, username, redirect string) string { |
no test coverage detected