Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

OAuth 2.0 and SFSafariViewController to get the Authorization Code

Hello all!

 

I'm working in an iOS app to use the web API of Fitbit and following the last documentation 

I tried to do the process in the correct way to get the Authorization Code 

but I´m not able to read the Authorization Code generated by the redirect URI (like: testFitbitiOS://?code=xxxxxxxxxxxxxxxx#success), because the documentation explicitly forbid using UIWebView and I don't know an alternative way to read the values using SFSafariViewController as the documentation says.

 

I'm using Objective-c, afnetworking 3.0 and iOS9.

 

any of you know any way to fix it?

 

Best regards

 

Thanks in advance

Best Answer
0 Votes
0 REPLIES 0