Skip to content

Commit

Permalink
Add auth endpoints to configuration
Browse files Browse the repository at this point in the history
[changelog:added]
  • Loading branch information
cdupuis committed Nov 30, 2018
1 parent 8d6b31b commit 1680df8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/configuration.ts
Expand Up @@ -173,6 +173,7 @@ export interface AutomationOptions extends AnyOptions {
endpoints?: { endpoints?: {
graphql?: string; graphql?: string;
api?: string; api?: string;
auth?: string;
}; };
/** /**
* Post-processors can be used to modify the configuration after * Post-processors can be used to modify the configuration after
Expand Down Expand Up @@ -928,6 +929,7 @@ export const LocalDefaultConfiguration: Configuration = {
endpoints: { endpoints: {
api: "https://automation.atomist.com/registration", api: "https://automation.atomist.com/registration",
graphql: "https://automation.atomist.com/graphql/team", graphql: "https://automation.atomist.com/graphql/team",
auth: "https://api.atomist.com/v2/auth",
}, },
http: { http: {
enabled: true, enabled: true,
Expand Down
1 change: 1 addition & 0 deletions test/configuration.test.ts
Expand Up @@ -58,6 +58,7 @@ describe("configuration", () => {
endpoints: { endpoints: {
api: "https://automation.atomist.com/registration", api: "https://automation.atomist.com/registration",
graphql: "https://automation.atomist.com/graphql/team", graphql: "https://automation.atomist.com/graphql/team",
auth: "https://api.atomist.com/v2/auth",
}, },
http: { http: {
enabled: true, enabled: true,
Expand Down

0 comments on commit 1680df8

Please sign in to comment.