Login with Devise, Omniauth and SoundCloud

I am trying to log into my Rails application using Devise and Omniauth. I have already installed the omnaut-soundcloud and omniauth stones. I created an app on Soundcloud with:

name: sitename
url: http://127.0.0.1:3000
redirect_url: http://127.0.0.1:3000

      

I followed steps similar to Railscasts # 235 and a login link was generated, but when I click I am redirected to the following url:

http://127.0.0.1:3000/?error=redirect_uri_mismatch&error_description=The+redirection+URI+provided+does+not+match+a+pre-registered+value.&state=e917179df8ad4e1e1cbef8f8b3d4497c59cf774853a78f94

      

What's happening? Should I forget about it? Thank!

EDIT

Sorry guys, I forgot to remove the "omniauth" gem in the Gemfile. This was causing problems, everything works.

Hello!

+3


source to share


2 answers


If you were following Ryan Bate Railscast - this is the URI (development) - http://localhost:3000/users/auth/soundcloud/callback



+1


source


Could this be your answer? Register a new app with soundcloud?



Redirect iOS soundcloud URI mismatch

0


source







All Articles