Skip to content

Instantly share code, notes, and snippets.

@corinnekrych
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save corinnekrych/9687218 to your computer and use it in GitHub Desktop.
Save corinnekrych/9687218 to your computer and use it in GitHub Desktop.
NSSpain submission

Let's practise OAuth2 dance !

You want to build a cool iOS app to share your photos on Twitter, Googgle+, Facebook... Tackle all the 'cool' social networks. First thing you need to do is: authenticate and authorize your app for each providers.

Good news is: there is a common protocol for that. Its little name is 'OAuth2'. Each provider comes with an iOS sdk to ease the OAuth2 dance, but of course, each has its own API.

Ouch! And what you really want is use the same API for all them. Let's see how you can implement OAuth2 protocol and provide a common API across providers. Much easier than his elder brother OAuth, we will dive into OAuth2 protocol and see the challenges of implementing it from a native app perspective.

Enterprise SSO / OAuth2 without stress

If you think security topic is hard to tackle, join me in this interactive session. This is a journey in the wolrd of SSO and OAuth2, we will see in a step by step approach how to build a complete app from server side to mobile client.

Is it complicated to build your own enterprise application server with SSO and OAuth? With Keycloak, an open source SSO authentication server, it's made easy. You can quickly set up your REST endpoints and secure them. Using admin UI you can manage roles, grants, create OAuth2 client in a breeze.

What about hosting it on the Cloud? Let me show you how to deploy it on OpenShift.

Is it difficult to write native web app? Which sdk to use? Using AeroGear iOS, client open source sdk, it's a matter of a few lines of code and some light configuration. Join me to see the genesis of our secure app.

@cvasilak
Copy link

small typo:

s/wolrd/world

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment