Aerogear Ios Oauth2

Client library for OAuth2/OpenID Connect
Alternatives To Aerogear Ios Oauth2
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Hackathon Starter34,033
3 months ago7December 09, 202026mitJavaScript
A boilerplate for Node.js web applications
5 days ago53apache-2.0Python
command line management for Google Workspace
55 months ago19June 01, 2020183mitPython
Google Calendar Command Line Interface
Wordpress Android2,793
2 days ago895gpl-2.0Kotlin
WordPress for Android
Google Signin2,7232961911 days ago53November 18, 201917mitJava
Google Sign-in for your React Native applications
Login With2,293
2 years ago9August 08, 201835mitJavaScript
Stateless login-with microservice for OAuth
2 years ago21April 12, 202032mitRust
a FUSE file system based on Google Drive
Youtube Upload1,728
a year ago87Python
Upload videos to Youtube from the command line
3 months ago32mitSwift
Google Assistant for macOS!
15 days ago184mpl-2.0C#
Sync your Outlook and Google calendars
Alternatives To Aerogear Ios Oauth2
Select To Compare

Alternative Project Comparisons


Maintenance circle-ci License GitHub release CocoaPods Platform

OAuth2 Client based on aerogear-ios-http.

Project Info
License: Apache License, Version 2.0
Build: CocoaPods
Languague: Swift 4
Issue tracker:
Mailing lists: aerogear-users (subscribe)
aerogear-dev (subscribe)

Table of Content


  • Account manager for multiple OAuth2 accounts,
  • Request access and refresh token,
  • Grant access through secure external browser and URI schema to re-enter app,
  • (implicit or explicit) refresh tokens,
  • Revoke tokens,
  • Permanent secure storage,
  • Adaptable to OAuth2 specific providers. Existing extensions: Google, Facebook, Keycloak
  • OpenID Connect login



In your Podfile add:

pod 'AeroGearOAuth2'

and then:

pod install

to install your dependencies


Grant for GET with a predefined config like Facebook

let facebookConfig = FacebookConfig(
    clientId: "YYY",
    clientSecret: "XXX",
    scopes:["photo_upload, publish_actions"]
let oauth2Module = AccountManager.addFacebookAccount(config: facebookConfig)

let http = Http()
http.authzModule = oauth2Module
http.request(method: .get, path: "/get", completionHandler: {(response, error) in
	// handle response

OpenID Connect with Keycloak

let keycloakConfig = KeycloakConfig(
    clientId: "sharedshoot-third-party",
    host: "http://localhost:8080",
    realm: "shoot-realm",
    isOpenIDConnect: true
let oauth2Module = AccountManager.addKeycloakAccount(config: keycloakConfig)

let http = Http()
http.authzModule = oauth2Module
oauth2Module.login {(accessToken: AnyObject?, claims: OpenIdClaim?, error: NSError?) in // [1]
    // Do your own stuff here


For more details about that please consult our documentation.

Demo apps

Take a look in our demo apps:


If you would like to help develop AeroGear you can join our developer's mailing list, join #aerogear on Freenode, or shout at us on Twitter @aerogears.

Also takes some time and skim the contributor guide


Join our user mailing list for any questions or help! We really hope you enjoy app development with AeroGear!

Found a bug?

If you found a bug please create a ticket for us on Jira with some steps to reproduce it.

Popular Google Projects
Popular Oauth Projects
Popular Companies Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Openid Connect