reu / omniauth-steam

Steam authentication strategy for OmniAuth
93 stars 38 forks source link

Need a Help, Pls! #17

Closed 7urkm3n closed 9 years ago

7urkm3n commented 9 years ago

Hello, Im new in WebDevelopment and especially in Rails. I tried to install without "Devise", only using omniauth. Trying to callback HASH request as like in Railscasts (https://youtu.be/KOnRf1K6Eg8?t=4m42s). How can i do?

I really wiill be appreciate to help. Thank You!

flou commented 9 years ago

I'm guessing you're having trouble with the error No route matches [POST] ... Steam is a bit different, it responds with a POST request so you may need to add a specific route to handle this:

post "auth/steam/callback", to: "sessions#create"

This post explains it very well: http://grschafer.com/guides/2013/09/07/steam-openid-and-webapi-with-rails/

reu commented 9 years ago

Wow, very nice post you link up there @flou!

Anyway, I will close this, as it is not a bug on OmniauthSteam.