Skip to content

Commit

Permalink
Fix IMS sensitive query (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbradoschi authored Oct 17, 2023
1 parent bb50ec9 commit ac25d8e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/playground/org-id-selector.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,15 @@ const OrgIdSelector = ({

useEffect(() => {
const query = qs.stringify({
bearer_token: accessToken.token,
client_id: clientId,
})

axios({
url: `${baseEndpoint}/ims/organizations/v6?${query}`,
method: 'GET',
headers: {
authorization: `Bearer ${accessToken.token}`,
},
}).then(response => {
const fromApi = response.data.map(org => {
const fullOrgIdentity = `${org.orgRef.ident}@${org.orgRef.authSrc}`
Expand Down

0 comments on commit ac25d8e

Please sign in to comment.