DropboxSimpleOAuth alternatives and similar libraries
Based on the "Authentication" category.
Alternatively, view DropboxSimpleOAuth alternatives based on common mentions on social networks and blogs.
-
OAuth2
OAuth2 framework for macOS and iOS, written in Swift. -
Simplicity
A simple way to implement Facebook and Google login in your iOS apps. -
Heimdallr.swift
Easy to use OAuth 2 library for iOS, written in Swift. -
SwiftyOAuth
A simple OAuth library for iOS with a built-in set of providers -
AuthenticationViewController
A simple to use, standard interface for authenticating to oauth 2.0 protected endpoints via SFSafariViewController. -
Swift Starter Kit ๐๐๐ฅ๐ฅ
Swift Starter Kit with Firebase & Facebook Login Onboarding -
InstagramSimpleOAuth
A quick and simple way to authenticate an Instagram user in your iPhone or iPad app. -
OhMyAuth
:closed_lock_with_key: Simple OAuth2 library with a support of multiple services. -
InstagramLogin
A simple way to authenticate Instagram accounts on iOS. -
LinkedInSignIn
Simple view controller to log in and retrieve an access token from LinkedIn. -
InstagramAuthViewController
A UIViewController subclass for Instagram authentication. -
BoxSimpleOAuth
A quick and simple way to authenticate a Box user in your iPhone or iPad app. -
SwiftUserManager
A usermanager written in swift saves you from hassle of saving your active user session.
Appwrite - The open-source backend cloud platform
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of DropboxSimpleOAuth or a related project?
README
DropboxSimpleOAuth

A quick and simple way to authenticate a Dropbox user in your iPhone or iPad app.
Adding DropboxSimpleOAuth to your project
CocoaPods
CocoaPods is the recommended way to add DropboxSimpleOAuth to your project.
- Add DropboxSimpleOAuth to your Podfile
pod 'DropboxSimpleOAuth'
. - Install the pod(s) by running
pod install
. - Add DropboxSimpleOAuth to your files with
#import <DropboxSimpleOAuth/DropboxSimpleOAuth.h>
.
Carthage
- Add
github "rbaumbach/DropboxSimpleOAuth"
to your Cartfile. - Follow the directions to add the dynamic framework to your target.
Clone from Github
- Clone repository from github and copy files directly, or add it as a git submodule.
- Add all files from 'Source' directory to your project.
How To
- Create an instance of
DropboxSimpleOAuthViewController
and pass in an Dropbox app key, app secret, client callback URL and completion block to be executed withDropboxLoginResponse
andNSError
arguments. - Once the instance of
DropboxSimpleOAuthViewController
is presented (either as a modal or pushed on the navigation stack), it will allow the user to login. After the user logs in, the completion block given in the initialization of the view controller will be executed. The argument in the completion block,DropboxLoginResponse
, contains an accessToken and other login information for the authenticated user provided by Dropbox API Response. If there is an issue attempting to authenticate, an error will be given instead. - By default, if there are issues with authentication, an UIAlertView will be given to the user. To disable this, and rely on the NSError directly, set the property
shouldShowErrorAlert
to NO. - Note: Even though an instance of the view controller itself can be initalized without app key, app secret, client callback and completion block (to help with testing), this data must be set using the view controller's properties before it is presented to the user.
Example Usage
// Simplest Example:
DropboxSimpleOAuthViewController
*viewController = [[DropboxSimpleOAuthViewController alloc] initWithAppKey:@"123I_am_a_client_id_567890"
appSecret:@"shhhhhh, I'm a secret"
callbackURL:[NSURL URLWithString:@"http://your.fancy.site"]
completion:^(DropboxLoginResponse *response, NSError *error) {
NSLog(@"My Access Token is: %@", response.accessToken);
}];
[self.navigationController pushViewController:viewController
animated:YES];
// Disable error UIAlertViews Example:
DropboxSimpleOAuthViewController
*viewController = [[DropboxSimpleOAuthViewController alloc] initWithAppKey:@"123I_am_a_client_id_567890"
appSecret:@"shhhhhh, I'm a secret"
callbackURL:[NSURL URLWithString:@"http://your.fancy.site"]
completion:^(DropboxLoginResponse *response, NSError *error) {
NSLog(@"My OAuth Token is: %@", response.accessToken);
}];
viewController.shouldShowErrorAlert = NO;
[self.navigationController pushViewController:viewController
animated:YES];
Testing
This project has been setup to use fastlane to run the specs.
First, run the setup.sh script to bundle required gems and CocoaPods when in the project directory:
$ ./setup.sh
And then use fastlane to run all the specs on the command line:
$ bundle exec fastlane specs
Version History
Version history can be found on releases page.
Suggestions, requests, and feedback
Thanks for checking out DropboxSimpleOAuth for your in-app Dropbox authentication. Any feedback can be can be sent to: [email protected].
*Note that all licence references and agreements mentioned in the DropboxSimpleOAuth README section above
are relevant to that project's source code only.