An Ember Ecosystem
For Spree Commerce

spree-ember-auth

Extends SimpleAuthDevise.Authenticator

The Spree Authenticator is responsible for Authenticating users against your Spree store. It assumes your server has the spree_ams gem installed. The Spree Auth initializer with dynamically create and set the Server Token Endpoint from the Spree Core Adapter.

Properties

Show Private Properties

indentificationAttributeName

String

The name of the identification attribute of the user. By default in Spree, this is email.


Default: 'email'

resourceName

String

The Rails Resource that we're authenticating. When using Spree's spree-auth-devise, this is simply user.


Default: 'user'

serverTokenEndpoint

String

The endpoint where the Authenticator will attempt to Authenticate Users. This is set dynamically by the spree-ember-auth initializer, by building a URL from the spree-ember-core adapter.


Default: 'http://localhost:3000/api/ams/users/token'

tokenAttributeName

String

The name of the unique key returned by the server on a successful authentication.


Default: 'token'