@obelisk/auth
Advanced tools
Comparing version 3.1.4 to 3.3.0
@@ -317,3 +317,3 @@ var AuthEventType; | ||
ObeliskAuthClient.prototype.getAuthPath = function () { | ||
return this.config.oblxBasePath; | ||
return this.config.olbxApiPrefix + this.config.oblxAuthEndpoint; | ||
}; | ||
@@ -320,0 +320,0 @@ /** |
@@ -320,3 +320,3 @@ 'use strict'; | ||
ObeliskAuthClient.prototype.getAuthPath = function () { | ||
return this.config.oblxBasePath; | ||
return this.config.olbxApiPrefix + this.config.oblxAuthEndpoint; | ||
}; | ||
@@ -323,0 +323,0 @@ /** |
export interface ObeliskConfig { | ||
/** | ||
* Full hostname of the server including (http[s]:// not ending in /) | ||
*/ | ||
oblxHost: string; | ||
oblxBasePath: string; | ||
/** | ||
* The actual endpoint of auth, usually /auth (not ending in /) | ||
*/ | ||
oblxAuthEndpoint: string; | ||
/** | ||
* The Api prefix. eg. /api/v3 (not ending in /) | ||
*/ | ||
olbxApiPrefix: string; | ||
/** | ||
* Full hostname of the client including (http[s]:// not ending in /) | ||
*/ | ||
clientHost: string; | ||
/** | ||
* The client base path, on which path the client is hosted (eg. /catalog not ending in /) | ||
*/ | ||
clientBasePath: string; | ||
/** | ||
* The full cient redirect uri | ||
*/ | ||
clientRedirectUri: string; | ||
/** | ||
* The client Id | ||
*/ | ||
clientId: string; | ||
@@ -8,0 +30,0 @@ } |
{ | ||
"name": "@obelisk/auth", | ||
"version": "3.1.4", | ||
"version": "3.3.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
obelisk-auth |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
153307
1218