@equinor/fusion
Advanced tools
Comparing version 0.1.101 to 0.1.102
@@ -142,3 +142,3 @@ import AuthApp from "./AuthApp"; | ||
const base = "https://login.microsoftonline.com/3aa4a235-b6e2-48d5-9195-7fcf05b459b0/oauth2/authorize"; | ||
const params = Object.assign({}, customParams, { client_id: app.clientId, response_type: "id_token", redirect_uri: getTopLevelWindow(window).location.href, login_hint: window["currentUpn"], domain_hint: "@equinor.com", nonce: nonce.getKey() }); | ||
const params = Object.assign({}, customParams, { client_id: app.clientId, response_type: "id_token", redirect_uri: getTopLevelWindow(window).location.href, domain_hint: "@equinor.com", nonce: nonce.getKey() }); | ||
const queryString = Object.keys(params).reduce((query, key) => query + `${query ? "&" : ""}${key}=${encodeURIComponent(params[key])}`, ""); | ||
@@ -145,0 +145,0 @@ return base + "?" + queryString; |
export { IAuthContainer, default as AuthContainer } from './auth/AuthContainer'; | ||
export { default as AuthApp } from './auth/AuthApp'; | ||
export { default as AuthNonce } from './auth/AuthNonce'; | ||
export { default as AuthUser } from './auth/AuthUser'; | ||
export { default as AuthToken } from './auth/AuthToken'; | ||
export { default as useCurrentUser } from './auth/useCurrentUser'; | ||
@@ -3,0 +7,0 @@ export { registerApp, useCurrentApp } from './app/AppContainer'; |
export { default as AuthContainer } from './auth/AuthContainer'; | ||
export { default as AuthApp } from './auth/AuthApp'; | ||
export { default as AuthNonce } from './auth/AuthNonce'; | ||
export { default as AuthUser } from './auth/AuthUser'; | ||
export { default as AuthToken } from './auth/AuthToken'; | ||
export { default as useCurrentUser } from './auth/useCurrentUser'; | ||
@@ -3,0 +7,0 @@ export { registerApp, useCurrentApp } from './app/AppContainer'; |
{ | ||
"name": "@equinor/fusion", | ||
"version": "0.1.101", | ||
"version": "0.1.102", | ||
"description": "Everything a Fusion app needs to communicate with the core", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
168556
4053