The documentation states that you can only use the SFSafariViewController, but Apple's latest secure method for doing this operation is using ASWebAuthenticationSession.
Can developers now use this? Currently my code requires this instead of the SFSafariView.
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Hi @whartrat,
We state in the documentation, "For security consideration, the OAuth 2.0 authorization page must be presented in a dedicated browser view. Fitbit users can only confirm they are authenticating with the genuine Fitbit.com site if they have the tools provided by the browser, such as the URL bar and Transport Layer Security (TLS) certificate information."
Our requirement is the user must see the URL they are logging into. By using ASWebAuthenticationSession, is this possible? I haven't found any documentation specifically stating so. If you have any documentation on this, I'd love to see it.
Gordon
Best Answer