You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have rails backend and backbone on the front-end. I am trying to use devise_token_auth to work with devise user authentications with tokens.
I have a form on the backbone for new user registration. I am creating a new record in User model and some other records and setting up proper relationships between users and internal objects such as organization etc..
Now users are getting confirmation email. When they click on the link, actual confirmation was successful on the rails side, but I am getting the following error on the backbone side.
I set the following in devise_token_auth.rb initializer file thinking that it needs confirm_succes_url, but it did not help.
bad argument (expected URI object or URI string)
/Users/medlio/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/uri/common.rb:1234:in `URI'
/Users/medlio/.rvm/gems/ruby-2.1.2/bundler/gems/devise_token_auth-47e8848cf124/lib/devise_token_auth/url.rb:4:in `generate'
/Users/medlio/.rvm/gems/ruby-2.1.2/bundler/gems/devise_token_auth-47e8848cf124/app/models/devise_token_auth/concerns/user.rb:201:in `build_auth_url'
/Users/medlio/.rvm/gems/ruby-2.1.2/bundler/gems/devise_token_auth-47e8848cf124/app/controllers/devise_token_auth/confirmations_controller.rb:22:in `show'```
The text was updated successfully, but these errors were encountered:
We have rails backend and backbone on the front-end. I am trying to use devise_token_auth to work with devise user authentications with tokens.
I have a form on the backbone for new user registration. I am creating a new record in User model and some other records and setting up proper relationships between users and internal objects such as organization etc..
Now users are getting confirmation email. When they click on the link, actual confirmation was successful on the rails side, but I am getting the following error on the backbone side.
I set the following in devise_token_auth.rb initializer file thinking that it needs
confirm_succes_url
, but it did not help.confirmation url looks like this.
The text was updated successfully, but these errors were encountered: