カスタム OmniAuth 戦略を作成しようとしています。これには、ユーザー名とパスワードの入力を求めるプロンプトが必要です。https://github.com/intridea/omniauth/wiki/Strategy-Contribution-Guideは便利な出発点です。現在、ドキュメントに記載されている OmniAuth::Form メソッドを使用していますが、より良いログインを実装したいと考えています。形。
ドキュメントには記載されてOmniAuth has a very simple form builder built into it so that you can easily prompt the user for information that's needed for your strategy. These forms are really not meant to be shown to end users but rather work as a stopgap for developers until they implement custom forms...
いますが、カスタム フォームの実装方法については記載されていません。
どうすればいいのですか?良い例はありますか?