SSO extension and NFC tag

Hi,

We are developing an Enterprise SSO extension for use by our customers. It is working well for username/password. We would like to use external security tokens such as Yubikey, via NFC. This works well inside the container app.

However, it looks like NFC might not be available to the SSO extension? The container app is signed with an NFC entitlement, and has the relevant key in the plist for a prompt to show the user. We use a 3rd party package called Yubikit to communicate with the Yubikey in the container app... all good.

In the trial I did, I had the SSO appex configured as a Credential extension. I have a demo/sample host app that uses this service, that mirrors what our customer's apps will do.

Currently, due to limitations in the server we are connecting to, instead of relying on a 401 authentication challenge, I am "manually" activating the enterprise SSO credential appex using ASAuthorizationSingleSignOnProvider, then our customer's host app will use the token the SSO appex returns for authenticating its API calls. This is working perfectly for the username/password scenario.

However some of our customers are very security conscious and require hardware tokens.

When I drive the same code in the contained SSO Enterprise app extension, and attempt to activate the NFC reader the same way, it seems like it doesn't have access to NFC?

I attempted to add the entitlement to the appex as well but it wasn't even available on the list of entitlements!

This leads me to suspect that iOS doesn't allow the SSO appex process to have access to the NFC reader, and there's no way to do what I'm attempting?

Note: it is easy for us to move to using a Redirect extension instead if this is the answer, but it doesn't seem that it's likely to help?

What is the recommended approach here?

Regards, Carl

Unfortunately NFC cannot be accessed inside credential extensions. I can't answer with certainty, but the underlying blocker for this is also likely to prevent it to work in a Redirect extension.

While we are aware of this already, additional bug reports are always helpful for the teams to understand the impact, and different use cases that require this.

To file a bug report, you can use the Feedback Assistant.

If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why?


Argun Tekant /  DTS Engineer / Core Technologies

SSO extension and NFC tag
 
 
Q