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
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
andmethod
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
name | type |
---|---|
url | string |
last_name | string |
phone_number | string |
First name, last name and email collection
name | type |
---|---|
url | string |
first_name | string |
last_name | string |
string |
First name, last name and employee ID collection
name | type |
---|---|
url | string |
employee_id | string |
first_name | string |
last_name | string |
First name, last name, email, phone number and terms of service collection
name | type |
---|---|
url | string |
string | |
first_name | string |
last_name | string |
phone_number | string |
Updated 3 months ago