Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // AuthRedirectDefault redirects to a generic success page. AuthRedirectDefault = build.SuccessRedirect() // AuthRedirectCache redirects to the "Cache" tab in the dashboard for // the authenticated organization. AuthRedirectCache = path.Join(build.DashboardHostname(), "team", "cache") )
Common redirect URLs for use with AuthClient.
Functions ¶
func AuthClient ¶
AuthClient returns a new client that redirects to a given URL upon success.
func IsRefreshTokenError ¶
invalid_grant or invalid_request usually means the refresh token is expired, revoked, or malformed. this belongs in opensource/pkg/auth
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.