MCPcopy Create free account
hub / github.com/auth0/auth0-cli / defaultURLFor

Function defaultURLFor

internal/cli/quickstarts.go:349–356  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

347}
348
349func defaultURLFor(s string) string {
350 switch strings.ToLower(s) {
351 case "angular": // See https://github.com/auth0-samples/auth0-angular-samples/issues/225#issuecomment-806448893
352 return defaultURL(qsDefaultURL, 4200)
353 default:
354 return defaultURL(qsDefaultURL, qspDefaultPort)
355 }
356}
357
358func defaultCallbackURLFor(s string) string {
359 switch strings.ToLower(s) {

Callers 3

promptDefaultURLsFunction · 0.85
urlPromptForFunction · 0.85
defaultCallbackURLForFunction · 0.85

Calls 1

defaultURLFunction · 0.85

Tested by

no test coverage detected