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

Function TestBuildOauthTokenURL

internal/cli/utils_shared_test.go:41–44  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

39}
40
41func TestBuildOauthTokenURL(t *testing.T) {
42 url := BuildOauthTokenURL("cli-demo.us.auth0.com")
43 assert.Equal(t, "https://cli-demo.us.auth0.com/oauth/token", url)
44}
45
46func TestBuildOauthTokenParams(t *testing.T) {
47 params := BuildOauthTokenParams("some-client-id", "some-client-secret", "https://cli-demo.auth0.us.auth0.com/api/v2/", "")

Callers

nothing calls this directly

Calls 1

BuildOauthTokenURLFunction · 0.85

Tested by

no test coverage detected