Skip to content

Commit 454ef2f

Browse files
committed
Merge branch '342-adjust-geo-apps-scope-for-token-exchange-configurations' into 'master'
Resolve "Adjust geo apps scope for token exchange configurations" Closes #342 See merge request pace/mobile/android/pace-cloud-sdk!378
2 parents c6e4d2d + 14f622f commit 454ef2f

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)