@ebubekirylmaz/link-test 1.2.39 → 1.2.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -103,8 +103,6 @@ function ProjectBar() {
|
|
|
103
103
|
if (identityProvider === "DEMO") {
|
|
104
104
|
payload.username = "admin";
|
|
105
105
|
payload.password = "admin";
|
|
106
|
-
} else if (identityProvider === "COGNITO") {
|
|
107
|
-
payload.refreshToken = storage.get("link", "refreshToken");
|
|
108
106
|
} else {
|
|
109
107
|
payload.refreshToken = storage.get("link", "refreshToken");
|
|
110
108
|
}
|
|
@@ -23,8 +23,6 @@ export default function CognitoLogin() {
|
|
|
23
23
|
if (!tokens?.accessToken)
|
|
24
24
|
throw new Error("No Cognito access token received");
|
|
25
25
|
|
|
26
|
-
storage.set("link", "cognitoRefresh", tokens.accessToken);
|
|
27
|
-
|
|
28
26
|
const res = await fetch("/api/oauth", {
|
|
29
27
|
method: "POST",
|
|
30
28
|
headers: { "Content-Type": "application/json" },
|