robdimarco / omniauth_crowd

An OmniAuth provider for Atlassian Crowd REST API
MIT License
30 stars 21 forks source link

Adding custom fields in OmniAuth::Form #24

Closed hudecof closed 4 years ago

hudecof commented 9 years ago

It would be nide to have an option to add custom fields /text, hidden/ to the login form. The gitlab added CSRF protection for omniauth providers, see my MR https://github.com/robdimarco/omniauth_crowd/pull/23.

As I'm no ruby expert, is there any other way to push custom fields into the form or the code needed to be changed?

robdimarco commented 9 years ago

Thanks for the pull request, I just merged it.

I think the code would need to be changed to allow for custom fields, happy to look at pull requests.