Add autoconfiguration of OAuth extension.