Questions tagged [spree-auth-devise]
68 questions
6
votes
2 answers
Override a private method in the lib folder of a gem
There is a private method in the spree-auth-devise gem. The method is inside the controller UserSessionsController https://github.com/spree/spree_auth_devise/blob/master/lib/controllers/frontend/spree/user_sessions_controller.rb
I wish to override…

Homoud
- 164
- 1
- 11
4
votes
1 answer
Spree commerce: User Login through API
I am pretty newbie using Spree and I am just playing around with the 3.0 stable version.
I would like to log a user account into the store through API (or something like that) using the chrome app called "Advanced REST client", then visit the store…

Julian Rodriguez
- 574
- 6
- 15
3
votes
2 answers
Adding name to Spree Devise registration
I am trying to add name, surname and birthdate to devise registration with Spree.
I have installed the gem
gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: '3-0-stable'
Created the migration:
class AddFieldsToSpreeUsers <…

ChrisEstanol
- 123
- 9
2
votes
4 answers
How can I extend my controller from installed Spree gem's controller?
I have spree gem installed successfully. I don't need spree_frontend. Here is the Gemfile
gem 'spree_core', '4.2.0.rc2'
gem 'spree_backend', '4.2.0.rc2'
gem 'spree_sample', '4.2.0.rc2'
gem 'spree_cmd', '4.2.0.rc2'
gem 'spree_auth_devise', '~>…

Zeck
- 6,433
- 21
- 71
- 111
2
votes
1 answer
Spree Forgot password
I've installed spree on my app and have currently running live.
On my local machine the app seems to work fine and when I try to use forgot password I go to the confirmation page. But on my live server, I get the error 500 screen.
I Installed the…

Salman
- 1,109
- 3
- 25
- 55
2
votes
2 answers
Spree Auth Devise Redirection Trying to Access /admin
trying to get familiar with Spree and am following the official tutorial (https://guides.spreecommerce.org/developer/getting_started_tutorial.html).
Certainly straightforward enough, but when I try to hit localhost:3000/admin the server returns a…

HectorOfTroy407
- 1,737
- 5
- 21
- 31
2
votes
1 answer
Howto Uninstall spree_auth_devise gem
I have an existing Rails 5.1 application which already contains a custom user controller.
As I was following the instructions to install Spree, I installed the spree_auth_devise gem and ran the migrations and other install commands as advised on the…

Carl
- 1,246
- 3
- 21
- 39
2
votes
2 answers
User should login in only three device from one account
I am using spree application with devise gem
We are not getting how we could implement user should login in only three devices at a time with the same account. Can anyone help on it? I am using rails4 with gem 'spree', '~> 3.1.0'

Arvind
- 2,671
- 1
- 18
- 32
2
votes
1 answer
Spree Overriding Users Registration Controller
I'm currently working on a spree pet project, where looking at the documentation was trying to override the default spree user registration controller. I'm currently using
gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch:…

rajesh023
- 704
- 1
- 5
- 15
2
votes
1 answer
How to remove OAUTH_PROVIDERS in Spree Social plugin
I've been reading through the SpreeSocial documentation here. I can't figure out how to remove providers through the config. I've tried to just pop the most recent provider off off of the list but that's not working.
…

Mary
- 109
- 10
2
votes
1 answer
An SMTP From address is required to send a message. Set the message smtp_envelope_from, return_path, sender, or from address
In Spree 3.0 "Mail Method Settings" not available by default.
Rails version 4.2.0
Using "gem 'spree_mail_settings', github: 'spree-contrib/spree_mail_settings', branch: '3-0-stable'" in admin panel one link generate in Configuration menu "Mail…

KKB
- 558
- 4
- 18
2
votes
1 answer
Show validation errors in view for custom Devise login form
At the moment, I'm building a Rails platform using Spree Commerce where I need two Devise login forms.
The default Devise login forms are already implemented. For the second (custom) Devise form, I created the following…

Vernon
- 443
- 4
- 23
1
vote
0 answers
Error Updating Spree User Custom Attributes
I'm attempting to add custom fields like first name, last name, avatar_url, and bio to my Spree user.
I added the fields to the table successfully:
class AddFieldsToSpreeUser < ActiveRecord::Migration[6.0]
def change
add_column :spree_users,…

Liz
- 1,369
- 2
- 26
- 61
1
vote
0 answers
How can I make login and sign up function using Spree API?
I am pretty new to Spree and I've been trying to integrate react with it by having backend as spree and frontend as react. I've tried to figure out on how to I can let users login to the store using Spree API, but I couldn't find any API related to…

hiyum
- 140
- 1
- 9
1
vote
1 answer
How to get Token with spree API v2 SDK
I have a Spree 3.7 app and am trying to use the storefront API v2 to get a token. I've been recommended to use their SDK, but I'm failing to understand how to use the SDK
Example below:
Identifies a guest user's cart and order.
const response =…

Salman
- 1,109
- 3
- 25
- 55