cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
toral
New Member

custom domain name

Jump to solution

Can we set up a custom url - for example - www.domainname.something.com instead of canvas.instructure..url?

1 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

View solution in original post

7 Replies
Robbie_Grant
Coach Emeritus

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?

0 Kudos

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 ​

FelixNegroni
New Member

Is there a better option for this?

0 Kudos

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

0 Kudos