Commit 32eda32d authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Envía token oid al pedir token guest para superset

parent db6984b4
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@ define([
	, 'src/component/base/_Show'
	, 'src/component/base/_Store'
	, 'src/redmicConfig'
	, 'src/util/Credentials'
	, 'superset-sdk'
], function(
	declare
@@ -17,6 +18,7 @@ define([
	, _Show
	, _Store
	, redmicConfig
	, Credentials
	, SupersetSdk
) {

@@ -108,7 +110,10 @@ define([
			this._emitEvt('GET', {
				target: this.target,
				requesterId: this.getOwnChannel(),
				id: this.dashboardConfig.id
				id: this.dashboardConfig.id,
				query: {
					token: Credentials.get('oidAccessToken')
				}
			});

			return this._guestToken;
+1 −0
Original line number Diff line number Diff line
@@ -55,6 +55,7 @@ define([
					'resettingSetPassword',
					'activateAccount'
				],
				// TODO medida temporal, mientras convivan oauth y keycloak
				_oidPaths: [
					'acoustic-detection'
				]