Login
Authenticates a customer and returns a JWT access token + refresh token.
Dispatches by the provider field to a strategy registered in
Spree.store_authentication_strategies. When provider is omitted it
defaults to email, which uses the built-in email/password strategy.
To plug in a third-party identity provider (Auth0, Okta, Firebase, a
custom JWT issuer, SAML, etc.), register a Spree::Authentication::Strategies::BaseStrategy
subclass under a provider key, then send { "provider": "<your_key>", ... }
with the fields your strategy requires. The endpoint returns the same
Spree-issued JWT + refresh token regardless of which strategy authenticated
the request.
Authorizations
Publishable API key for store access

