-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added authconfig to apex browser
- Loading branch information
1 parent
26f8260
commit 050fb02
Showing
2 changed files
with
59 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
module.exports = { | ||
catalogUrl: null, | ||
catalogTitle: "STAC Browser", | ||
allowExternalAccess: true, // Must be true if catalogUrl is not given | ||
allowedDomains: [], | ||
detectLocaleFromBrowser: true, | ||
storeLocale: true, | ||
locale: "en", | ||
fallbackLocale: "en", | ||
supportedLocales: [ | ||
"de", | ||
// "de-CH", | ||
"es", | ||
"en", | ||
// "en-GB", | ||
// "en-US", | ||
"fr", | ||
// "fr-CA", | ||
// "fr-CH", | ||
"it", | ||
// "it-CH", | ||
"ro", | ||
"ja", | ||
"pt", | ||
// "pt-BR" | ||
], | ||
apiCatalogPriority: null, | ||
useTileLayerAsFallback: true, | ||
displayGeoTiffByDefault: false, | ||
buildTileUrlTemplate: ({ | ||
href, | ||
asset | ||
}) => "https://tiles.rdnt.io/tiles/{z}/{x}/{y}@2x?url=" + encodeURIComponent(asset.href.startsWith("/vsi") ? asset.href : href), | ||
stacProxyUrl: null, | ||
pathPrefix: "/", | ||
historyMode: "history", | ||
cardViewMode: "cards", | ||
cardViewSort: "asc", | ||
showKeywordsInItemCards: false, | ||
showKeywordsInCatalogCards: false, | ||
showThumbnailsAsAssets: false, | ||
geoTiffResolution: 128, | ||
redirectLegacyUrls: false, | ||
itemsPerPage: 12, | ||
defaultThumbnailSize: null, | ||
maxPreviewsOnMap: 50, | ||
crossOriginMedia: null, | ||
requestHeaders: {}, | ||
requestQueryParameters: {}, | ||
preprocessSTAC: null, | ||
authConfig: { | ||
type: 'openIdConnect', | ||
openIdConnectUrl: 'https://auth.apex.esa.int/realms/apex/.well-known/openid-configuration', | ||
oidcConfig: { | ||
client_id: 'apex-catalogue-dev-browser' | ||
} | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.2.9 | ||
1.3.0 |