AlexanderZaytsev / domp

Devise & Omniauth Multiple Providers
MIT License
106 stars 15 forks source link

escape provider name #5

Closed AlexanderPavlenko closed 11 years ago

AlexanderPavlenko commented 11 years ago

provider name may contein -oauth2 and hence be an invalid symbol

AlexanderPavlenko commented 11 years ago

Nice try, but in fact it doesn't help. Strategy name may be not the same as the gem's name and generally should be camelized, sometimes in unexpected ways like :linkedIn.

AlexanderZaytsev commented 11 years ago

Thanks!