The omniauth_uoc library is an OmniAuth provider that supports authentication against UOC REST apis.