Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Domain Data Mgmt Services
Seismic
Seismic DMS Suite
seismic-dms-service
Commits
b1d14ceb
Commit
b1d14ceb
authored
Nov 20, 2021
by
Dmitriy Rudko
💬
Browse files
fix: [Bug #12645959] fix issue of wron TokenCredentials object usage
parent
ba4fad16
Pipeline
#78179
failed with stages
in 15 minutes and 52 seconds
Changes
1
Pipelines
3
Show whitespace changes
Inline
Side-by-side
src/cloud/providers/azure/dataecosystem.ts
View file @
b1d14ceb
...
...
@@ -56,7 +56,8 @@ export class AzureDataEcosystemServices extends AbstractDataEcosystemCore {
public
static
async
getPartitionConfiguration
(
dataPartitionID
:
string
):
Promise
<
any
>
{
const
credentials
=
AzureCredentials
.
getCredential
()
const
accessToken
=
credentials
.
getToken
(
AzureConfig
.
SP_APP_RESOURCE_ID
)
const
aud
=
AzureConfig
.
SP_APP_RESOURCE_ID
;
const
accessToken
=
(
await
credentials
.
getToken
(
`
${
aud
}
/.default`
)).
token
const
options
=
{
headers
:
{
'
Accept
'
:
'
application/json
'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment