Made oauth2 type field configurable
Merge pull request #7 from simov/oauth2-type

Made oauth2 type field configurable