Skip to content

Commit 14f622f

Browse files
committed
chore: adjust geo apps scope for token exchange
1 parent c6e4d2d commit 14f622f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/src/main/java/cloud/pace/sdk/utils/Configuration.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ data class Configuration @JvmOverloads constructor(
1515
var domainACL: List<String> = listOf("pace.cloud", "fuel.site"),
1616
var locationAccuracy: Int? = null,
1717
var speedThresholdInKmPerHour: Int = 50,
18-
var geoAppsScope: String = clientId,
19-
var appsDistanceThresholdInMeters: Int = 150,
2018
var oidConfiguration: CustomOIDConfiguration? = null,
19+
var geoAppsScope: String = oidConfiguration?.tokenExchangeConfig?.clientId ?: clientId,
20+
var appsDistanceThresholdInMeters: Int = 150,
2121
var isMetaCollectorEnabled: Boolean = true
2222
)
2323

0 commit comments

Comments
 (0)