Skip to content

Releases: oauth-io/oauth-ios

Version 1.2.0

06 Aug 18:47
Compare
Choose a tag to compare
  • 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

05 Aug 11:22
Compare
Choose a tag to compare
  • Fixed: multiple parameters in POST request weren't encoded correctly

Version 1.1.0

24 Jun 19:43
Compare
Choose a tag to compare

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