Login Integration
Once they have created an account, customers will need a way to login to their account. We provide a form that will render the email, password and submit field. Place the code snippet below on your login page, and it will handle all the needs of the login interactions.
Example Snippet
<!-- adjust the attribite values to match correct urls for your site -->
<div class="mariana-login-form-binding"
data-mariana-auth-redirect-url="/my-account/"
data-mariana-auth-register-url="/create-account/"
></div>
Live Example
If you would like to check out a live example, head over to https://mariana-integrations-demo.herokuapp.com/default/login/
Parameters
data-mariana-auth-redirect-url: Where to take the customer after a successful login.data-mariana-auth-register-url: Location of Create Account Snippet.
Optional Parameters
data-mariana-forgot-password-redirect-uri
When the customer resets their password, they will be redirected to this URL.
This parameter should only be used when a customer must be redirected to a url that is not on the current domain, or when there are multiple sites managed by one integrator (e.g. nyc.marianatek.com and la.marianatek.com). This parameter will also require coordination with our support team for proper implementation. Please reach out to us if this is your use-case.
Example
<!-- adjust the attribite values to match correct urls for your site -->
<div class="mariana-login-form-binding"
data-mariana-auth-redirect-url="/my-account/"
data-mariana-auth-register-url="/create-account/"
></div>