reu / omniauth-steam

Steam authentication strategy for OmniAuth
93 stars 38 forks source link

registering omniauth failure when steam errors out <vishnu> #21

Closed vishnukool closed 9 years ago

vishnukool commented 9 years ago

Ensuring we raise a omnauth failure when json parse exception happens when steam is down. The clients using the gem can plugin behaviour on failure with this handler to redirect to specific controller action

OmniAuth.config.on_failure = WelcomeController.action(:steam_error)

2called-chaos commented 8 years ago

Yeah steam likes to be down :) Can we get a gem update please? :+1:

vishnukool commented 8 years ago

I'm fairly new to ruby, so i'm unaware of how to update the gem. Is this something i can do or the omniauth-steam has to do it ?

2called-chaos commented 8 years ago

@vishnukool No worries, that's a maintainers job. I could build the gem on my own but I can't push it to rubygems :)