Skip to main content

Setup

Passpoint onboarding leans on a few privileged iOS capabilities. Turn these on before you call connect(), or issuance and install will fail early. The SDK checks your entitlements before it makes any network call, and stops with entitlementMissing if one is missing.

The first two steps apply whichever way you issue. After that, follow the section for your route: brokered issuance (recommended) or App Attest.

Hotspot Configuration entitlement​

Installing a Passpoint profile goes through NEHotspotConfiguration, which needs the Hotspot Configuration entitlement. It's a standard managed entitlement, so there's no special Apple approval to wait on.

  • Signing & Capabilities → + Capability → Hotspot Configuration, or:
<key>com.apple.developer.networking.HotspotConfiguration</key>
<true/>

Shared Keychain access group​

The client certificate and its Secure Enclave key have to sit in a shared Keychain access group so the NetworkExtension can pair them into a SecIdentity. Add a Keychain Sharing group and hand it to the SDK.

The usual group for NetworkExtension sharing is:

<TeamID>.com.apple.networkextensionsharing

Enable Keychain Sharing in Signing & Capabilities, add that group, then pass it when you configure:

let widas = WiDAS(
clientId: "client-acme",
broker: MyBroker(endpoint: brokerEndpoint, userAccessToken: signIn.accessToken),
keychainAccessGroup: "<TeamID>.com.apple.networkextensionsharing"
)

Pass nil and the SDK uses the app's default access group. Supply your shared group when the client identity needs to be visible to the NetworkExtension.

Your Broker vouches for each request, so your app needs no App Attest capability and no app identity registered with Wi-DAS.

  1. Set up your Broker. Brokered issuance covers what it does, the Microsoft Entra application it signs in with, and the calls it makes.
  2. Register it with Wi-DAS. Send us your Entra tenant ID and your Broker application's Application (client) ID, and tell us which apps it should issue for. We register them and give you your clientId. Until then, every request is refused and connect() throws entitlementMissing.
  3. Give your app a way to reach your Broker. That's your own API, behind your own sign-in. You'll wrap it in a small Broker adapter, shown in Usage.

One Broker can serve your Android and Windows apps too. Tell us every app it should issue for.

App Attest​

Use this section instead if you're issuing through App Attest rather than a Broker.

Attestation is being retired

We'll remove App Attest support from the SDK in the near future, leaving brokered issuance as the only route. Build new integrations on a Broker, and if your app uses App Attest today, plan to move it across.

Enable the App Attest capability​

App Attest is what proves your app is genuine on this route, so it's not optional. Enable it on your app target:

  • Signing & Capabilities → + Capability → App Attest, or add the entitlement directly:
<!-- YourApp.entitlements -->
<key>com.apple.developer.devicecheck.appattest-environment</key>
<string>production</string>
App Attest doesn't work on the Simulator

App Attest runs on real hardware only. On the Simulator, connect() comes back with attestationUnavailable. Test issuance on a device.

Register your app with Wi-DAS​

Attestation is checked against your registered identity. Give your Wi-DAS contact your Team ID and your app's bundle ID to register against your clientId. Until that's done, even a real device gets attestationRejected / entitlementMissing.

Checklist​

Both routes:

  • Hotspot Configuration entitlement enabled
  • Keychain Sharing group added and passed as keychainAccessGroup
  • Testing on a real device

Brokered issuance:

  • Broker running, with its Entra application granted Broker.Issue
  • Tenant ID and Broker application ID registered with Wi-DAS, and your clientId received
  • App-to-Broker connection protected with TLS, and the Broker's response relayed unaltered

App Attest:

  • App Attest capability enabled
  • Team ID + bundle ID registered against your clientId

The Entitlements & permissions checklist pulls every platform together in one place.

Next: Usage.