Releases: oauth-io/oauth-ios
Releases · oauth-io/oauth-ios
Version 1.2.0
- Added possibility to use the SDK with the server-side flow. The SDK automatically handles the state token retrieval and authentication endpoints, simplifying the whole front-end process:
All you have to do is to show the popup, specifying the state and auth URLs
[oauthioModal showWithProvider:@"facebook" options:options stateTokenUrl:@"http://your/state/url" authUrl:@"http://your/auth/url"];
And catch the response of the authentication with one of the following delegate methods:
- (void)didAuthenticateServerSide:(NSString *)body andResponse:(NSURLResponse *) response;
- (void)didFailAuthenticationServerSide:(NSString *)body andResponse:(NSURLResponse *)response andError:(NSError *)error;
Version 1.1.3
- Fixed: multiple parameters in POST request weren't encoded correctly
Version 1.1.0
In this release, we completely refactored the SDK's code. The following changes have been made:
- Installation via the .framework file or via CocoaPods (installation is also much quicker)
- Me() feature - retrieve a unified array containing the user information
- Cache feature - store the credentials so you don't have to show the popup everytime
- Bugfixes