Scan your whole stack
From OX Research Newsroom
Are you using @itwin/map-layers-auth?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v5.17.0-dev.1
@itwin/map-layers-auth was last scanned on 27 Nov 2026 at version 5.17.0-dev.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 5.17.0-dev.1 LATEST | 27 Nov 2026 | No rules fired |
| 5.16.0-dev.22 | 26 Nov 2026 | No rules fired |
| 5.16.0-dev.21 | 26 Nov 2026 | No rules fired |
| 5.16.0-dev.20 | 25 Nov 2026 | Not shown |
| 5.15.2 | 24 Nov 2026 | Not shown |
Findings for v5.17.0-dev.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 5.17.0-dev.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Copyright © Bentley Systems, Incorporated. All rights reserved. See LICENSE.md for license terms and full copyright notice.
The @itwin/map-layers-auth package contains classes for enabling various authentification methods, such as OAuth2.
To enable the ArcGIS OAuth2 support, an 'ArcGisAccessClient' object needs to be created and registered in the MapLayerFormatRegistry from @itwin/imodeljs-frontend for the 'ArcGIS' format.
Also the following configuration will be required:
ArcGisAccessClient object.\
Following code demonstrates how a callback page can be implemented as a simple React hook:import * as React from "react";
export function ArcGisOauthRedirect() {
const completeLogin = () => {
if (window.opener) {
const opener = (window.opener);
if (opener?.arcGisOAuth2Callback) {
opener.arcGisOAuth2Callback(window.location);
}
}
};
React.useEffect(() => {
completeLogin();
}, []);
}
ArcGisAccessClient object. The ui-test-app application provides a complete sample configuration.
The map-layers widget has also been updated to support OAuth2: if needed, a popup window will be displayed to trigger the external OAuth process with the remote ArcGIS server. When the process completes, the focus returns to the map-layers widget and layer is ready to be added/displayed.\
\
More details on how to configure the ArcGis Server can be found in the ESRI documentation\
\
ArcGisAccessClient initialization example: const enterpriseClientIds = [{
serviceBaseUrl: SampleAppIModelApp.testAppConfiguration.arcGisEnterpriseBaseUrl,
clientId: SampleAppIModelApp.testAppConfiguration?.arcGisEnterpriseClientId,
}];
const accessClient = new ArcGisAccessClient();
const initStatus = accessClient.initialize({
redirectUri: "http://localhost:3000/esri-oauth2-callback",
clientIds: {
arcgisOnlineClientId: SampleAppIModelApp?.testAppConfiguration?.arcGisOnlineClientId,
enterpriseClientIds,
}});
IModelApp.mapLayerFormatRegistry.setAccessClient("ArcGIS", accessClient); Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.