Hello  Joe

Indeed you can just initialise the config class by itself [1] providing all the OAuth2 provider endpoints. If you want to provide support for different Oauth2 proviers you can also inherit form config and provide your own config. See FacebookConfig for ex [2]

[1] https://github.com/aerogear/aerogear-ios-oauth2/blob/master/AeroGearOAuth2/Config.swift#L23

On 30 August 2016 at 19:18, Joe Cavallaro <joecavallaro@gmail.com> wrote:
Hello all,

I'm wanting to use Aerogear's OAuth2 to authorize several different services in my iOS app, but am a little confused by the "predefined config" examples and how to use a custom config. Do I just initialize a new Config object and pass it?


jpcguy89 aka Joe

aerogear-dev mailing list