diff --git a/spectrum/src/frontends/slack/SlackUserRegistration.cpp b/spectrum/src/frontends/slack/SlackUserRegistration.cpp index bb96f6dd355f45513f733f35efd88169999c2d8a..007c259cbe3f091643dceab040cbf816c1c9a79b 100644 --- a/spectrum/src/frontends/slack/SlackUserRegistration.cpp +++ b/spectrum/src/frontends/slack/SlackUserRegistration.cpp @@ -62,7 +62,7 @@ SlackUserRegistration::~SlackUserRegistration(){ } std::string SlackUserRegistration::createOAuth2URL(const std::vector &args) { - std::string redirect_url = "http://slack.spectrum.im/auth/" + CONFIG_STRING(m_config, "service.jid"); + std::string redirect_url = "http://slack.spectrum.im/oauth2/" + CONFIG_STRING(m_config, "service.jid"); OAuth2 *oauth2 = new OAuth2(CONFIG_STRING_DEFAULTED(m_config, "service.client_id",""), CONFIG_STRING_DEFAULTED(m_config, "service.client_secret",""), "https://slack.com/oauth/authorize",