Register for InstructureCon25 • Passes include access to all sessions, the expo hall, entertainment and networking events, meals, and extraterrestrial encounters.
Can we set up a custom url - for example - www.domainname.something.com instead of canvas.instructure..url?
Solved! Go to Solution.
Deactivated user,
We are using the pay for version of Canvas. Here is the code we are passing through the page:
<!-- Canvas Login --> | |
<div class="lmsLoginBox" style="width: 450px; margin: auto; margin-top: 20px; text-align: center;"> | |
<img style="margin-top: 25px; margin-bottom: 15px;" src="https://learn.nmsu.edu/learnlogo.png" alt="Canvas Login" width="450" height="107" /> | |
<!-- Canvas Form --> | |
<form id="canvas" class="form" action="https://nmsu.instructure.com/login" method="post"> | |
<p class="name"><input id="pseudonym_session_unique_id" style="color: #999;" name="pseudonym_session[unique_id]" type="text" value="NMSU Username" onFocus="clearPrompt(this)" /> <input id="pseudonym_session_password" style="color: #999;" name="pseudonym_session[password]" value="NMSU Password" onFocus="clearPasswordPrompt(this)" /></p> | |
<p class="forgotpassword" style="text-align: right; margin-right: 10px; font-size: 60%;"><a href="https://my.nmsu.edu/web/mycampus/help" target="_blank">I Forgot My Password</a></p> | |
<p class="submit" style="text-align: right; margin-right: 10px; margin-bottom: 25px;"><input id="canvasSubmit" name="canvasSubmit" type="submit" value="Login to Learn" /></p> | |
</form><!-- End Canvas Form --> |
Robbie
Deactivated user,
We are using a landing page that has the login frame embedded in it. You can see this at http://learn.nmsu.edu. This actually allows us more flexibility when it comes to announcements and customization.
Robbie
Nice - How do you embed login frame? Are you using the free version?
Deactivated user,
We are using the pay for version of Canvas. Here is the code we are passing through the page:
<!-- Canvas Login --> | |
<div class="lmsLoginBox" style="width: 450px; margin: auto; margin-top: 20px; text-align: center;"> | |
<img style="margin-top: 25px; margin-bottom: 15px;" src="https://learn.nmsu.edu/learnlogo.png" alt="Canvas Login" width="450" height="107" /> | |
<!-- Canvas Form --> | |
<form id="canvas" class="form" action="https://nmsu.instructure.com/login" method="post"> | |
<p class="name"><input id="pseudonym_session_unique_id" style="color: #999;" name="pseudonym_session[unique_id]" type="text" value="NMSU Username" onFocus="clearPrompt(this)" /> <input id="pseudonym_session_password" style="color: #999;" name="pseudonym_session[password]" value="NMSU Password" onFocus="clearPasswordPrompt(this)" /></p> | |
<p class="forgotpassword" style="text-align: right; margin-right: 10px; font-size: 60%;"><a href="https://my.nmsu.edu/web/mycampus/help" target="_blank">I Forgot My Password</a></p> | |
<p class="submit" style="text-align: right; margin-right: 10px; margin-bottom: 25px;"><input id="canvasSubmit" name="canvasSubmit" type="submit" value="Login to Learn" /></p> | |
</form><!-- End Canvas Form --> |
Robbie
Robbie,
Aren't you afraid the login frame will change at some point breaking what you have done?
Robbie,
Is there an oauth script behind the login form? I am trying to make this work for our system, but I am failing with an authenticity token error. @Robbie_Grant
Is there a better option for this?
Hi @FelixNegroni ,
If you're using the Instructure-hosted cloud version of Canvas, ask your CSM about setting up a "vanity domain". This is the term INstrycture uses for a custom URL. Based on my experience, there will usually be an additional fee to use a vanity domain. We use one at my institution, and it has helped us to mitigate some 3rd party cookie issues between Canvas and other integrated services (like Kaltura) which also allow us to set up a custom domain.
-Chris
To interact with Panda Bot in the Instructure Community, you need to sign up or log in:
Sign In
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.