Add anonymous OOBE gateway grants
Provide App Attest-bound, one-time onboarding AI access without creating accounts, with durable replay protection and production deployment safeguards.
This commit is contained in:
@@ -148,6 +148,10 @@ data class AppConfig(
|
||||
if (production) "production" else "development",
|
||||
),
|
||||
),
|
||||
allowDevelopmentAppAttest = config.booleanOrDefault(
|
||||
"app.integrity.allowDevelopmentAppAttest",
|
||||
false,
|
||||
),
|
||||
challengeLifetimeSeconds = config.positiveLong(
|
||||
"app.integrity.challengeLifetimeSeconds",
|
||||
300,
|
||||
@@ -449,6 +453,7 @@ data class IntegrityConfig(
|
||||
val deviceCheckPolicy: IntegrityPolicy,
|
||||
val appAttestPolicy: IntegrityPolicy,
|
||||
val appleEnvironment: AppleServiceEnvironment = AppleServiceEnvironment.DEVELOPMENT,
|
||||
val allowDevelopmentAppAttest: Boolean = false,
|
||||
val challengeLifetimeSeconds: Long = 300,
|
||||
val appAttestTeamId: String = APP_ATTEST_TEAM_ID,
|
||||
val appAttestBundleId: String = APP_ATTEST_BUNDLE_ID,
|
||||
|
||||
Reference in New Issue
Block a user