Open Access Login

The Open Access Login page comes in 4 variants, depending on your authentication strategy.

URL

Last name and phone number collection

auth/auth_url_phone_number/login

First name, last name and email collection

auth/auth_url_email/login

First name, last name and employee ID collection

auth/auth_url_employee/login

First name, last name, email, phone number and terms of service collection

auth/auth_url_terms/login

Screenshots

2560

Structure

Last name and phone number collection

auth_url_phone_number.html.liquid
└── _header_minimal.html.liquid
    └── _messages.html.liquid

First name, last name and email collection

auth_url_email.html.liquid
└── _header_minimal.html.liquid
    └── _messages.html.liquid

First name, last name and employee ID collection

auth_url_employee.html.liquid
└── _header_minimal.html.liquid
    └── _messages.html.liquid

First name, last name, email, phone number and terms of service collection

auth_url_terms.html.liquid
└── _header_minimal.html.liquid
    └── _messages.html.liquid

Template Considerations

Those pages & templates are available only when the school uses the open access authentication strategy.

Form

The Open Access Login page uses an HTML form to submit the learner's credentials. Please make sure you're not overwriting its internals:

  • the action and method attributes on the <form> HTML tag
  • the form_authenticity_token Liquid tag inside the <form> HTML tag
  • the name attribute on the <input> HTML tags

Additionally, a form object is exposed, which handles the form's options and state. The form object has the following attributes:

Last name and phone number collection

nametype
urlstring
last_namestring
phone_numberstring

First name, last name and email collection

nametype
urlstring
first_namestring
last_namestring
emailstring

First name, last name and employee ID collection

nametype
urlstring
employee_idstring
first_namestring
last_namestring

First name, last name, email, phone number and terms of service collection

nametype
urlstring
emailstring
first_namestring
last_namestring
phone_numberstring