We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to use oauth-plugin with Rails 3 application. When running rails generate oauth_provider I get models and controllers generated successfully. But no views. Those are missing completely, though I think they should be generated as well. At least according to this tutorial: http://stakeventures.com/articles/2007/11/26/how-to-turn-your-rails-site-into-an-oauth-provider
Gemfile:
gem 'rails' gem 'simple_form' gem 'paperclip', '~> 2.3' gem 'devise', '1.2.rc' gem 'oa-oauth', :require => 'omniauth/oauth' gem 'jquery-rails', '>= 0.2.6' gem 'oauth' gem 'oauth-plugin', '>=0.4.0.pre1'
These are generated: invoke active_record identical app/models/client_application.rb identical app/models/oauth_token.rb identical app/models/request_token.rb identical app/models/access_token.rb identical app/models/oauth2_token.rb identical app/models/oauth2_verifier.rb identical app/models/oauth_nonce.rb
Wonder is it an issue?
The text was updated successfully, but these errors were encountered:
I believe the views aren't generated because they aren't needed - most of the oauth actions are just redirects. If you need views you can add them.
Sorry, something went wrong.
$ rails generate oauth_provider oauth # will generate everything, including injecting routes.
This was a bug in the erb generator. It is fixed now.
No branches or pull requests
Trying to use oauth-plugin with Rails 3 application. When running rails generate oauth_provider I get models and controllers generated successfully. But no views. Those are missing completely, though I think they should be generated as well. At least according to this tutorial: http://stakeventures.com/articles/2007/11/26/how-to-turn-your-rails-site-into-an-oauth-provider
Gemfile:
gem 'rails'
gem 'simple_form'
gem 'paperclip', '~> 2.3'
gem 'devise', '1.2.rc'
gem 'oa-oauth', :require => 'omniauth/oauth'
gem 'jquery-rails', '>= 0.2.6'
gem 'oauth'
gem 'oauth-plugin', '>=0.4.0.pre1'
These are generated:
invoke active_record
identical app/models/client_application.rb
identical app/models/oauth_token.rb
identical app/models/request_token.rb
identical app/models/access_token.rb
identical app/models/oauth2_token.rb
identical app/models/oauth2_verifier.rb
identical app/models/oauth_nonce.rb
Wonder is it an issue?
The text was updated successfully, but these errors were encountered: