From 53ceecc797660f43409410f1286a76e81420fba5 Mon Sep 17 00:00:00 2001 From: pilcrowOnPaper Date: Sat, 27 Jan 2024 09:11:41 +0900 Subject: [PATCH] fix atlassian provider --- package.json | 2 +- src/providers/atlassian.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6fba047f..028ea1da 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "arctic", "type": "module", - "version": "1.0.0", + "version": "1.0.1", "description": "OAuth 2.0 clients for popular providers", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/providers/atlassian.ts b/src/providers/atlassian.ts index 0121ba38..afe56aa8 100644 --- a/src/providers/atlassian.ts +++ b/src/providers/atlassian.ts @@ -4,7 +4,7 @@ import { TimeSpan, createDate } from "oslo"; import type { OAuth2Provider } from "../index.js"; const authorizeEndpoint = "https://auth.atlassian.com/authorize"; -const tokenEndpoint = "https://auth.atlassian.com/token"; +const tokenEndpoint = "https://auth.atlassian.com/oauth/token"; export class Atlassian implements OAuth2Provider { private client: OAuth2Client;