Skip to main content
Learn about Community
Sign In
You're signed out
Sign in to ask questions, follow content, and engage with the Community
Sign In
'; hoverCardInner.innerHTML = loadingHTML.repeat(4); hoverCardContainer.classList.add('profile-hover-card-show'); // Extract information from the image element const titleField = avatar.getAttribute('title'); const userInfoUrl = `https://${mainURL}/api/2.0/search?q=SELECT first_name, last_name, login, view_href, rank, topics, solutions_authored, id, email FROM users WHERE login = '${titleField}'`; const userPostsUrl = `https://${mainURL}/api/2.0/search?q=SELECT count(*) FROM messages WHERE author.login = '${titleField}'`; const userSolutionsUrl = `https://${mainURL}/api/2.0/search?q=SELECT count(*) FROM messages WHERE author.login = '${titleField}' AND is_solution = true`; const userBadgesUrl = `https://${mainURL}/api/2.0/search?q=SELECT user_badges from users where login = '${titleField}'`; // Fetch user information async function createProfileData() { const userInfo = await fetch(userInfoUrl); const userPosts = await fetch(userPostsUrl); const userSolutions = await fetch(userSolutionsUrl); const userBadges = await fetch(userBadgesUrl); const userInfoData = await userInfo.json(); const userPostsData = await userPosts.json(); const userSolutionsData = await userSolutions.json(); const userBadgesData = await userBadges.json(); const userBadgesArray = userBadgesData.data.items[0].user_badges.items; const earnedBadgesArray = userBadgesArray.filter(badge => badge.earned_date); earnedBadgesArray.sort((a, b) => new Date(b.earned_date) - new Date(a.earned_date)); const userRankName = userInfoData.data.items[0].rank.name; const userID = userInfoData.data.items[0].id; // const userKudosUrl = `https://${mainURL}/restapi/vc/users/id/${userID}/metrics/name/net_kudos_events_received?restapi.response_format=json`; const userKudos = await fetch(userKudosUrl); const userKudosData = await userKudos.json(); let fullName = userInfoData.data.items[0].login; if (userInfoData.data.items[0].first_name !== undefined && userInfoData.data.items[0].last_name !== undefined) { let firstName = userInfoData.data.items[0].first_name; let lastName = userInfoData.data.items[0].last_name; fullName = firstName + " " + lastName; } else { fullName = userInfoData.data.items[0].login; } let userRankIcon = ""; if (userInfoData.data.items[0].rank.icon_left !== undefined) { userRankIcon = userInfoData.data.items[0].rank.icon_left; } else { userRankIcon = ""; } let userEmail = ""; // <#if user_has_role> if (userInfoData.data.items[0].email !== undefined) { userEmail = userInfoData.data.items[0].email; } else { userEmail = ""; } // <#else> userEmail = ""; // #if> const userViewHref = userInfoData.data.items[0].view_href; const userPostsCount = userPostsData.data.count; const userSolutionsCount = userSolutionsData.data.count; const userKudosCount = userKudosData.response.value.$; const userBadgesCount = earnedBadgesArray.length; let badgesHTML = ""; if (earnedBadgesArray.length === 0) { badgesHTML = `
This user hasn't earned any badges yet.
`; } else { for (let i = 0; i < earnedBadgesArray.length; i++) { const badgeName = earnedBadgesArray[i].badge.title; const badgeIcon = earnedBadgesArray[i].badge.icon_url; const badgeHTML = `
`; badgesHTML += badgeHTML; if (i >= 4) { break; } }; } const hoverCardHTML = `
${userRankName}
${userEmail}
${badgesHTML}
`; // // Display the hover card return hoverCardHTML; } if (hoverCardInner.innerHTML.includes('loading-box')) { createProfileData().then((hoverCardHTML) => { hoverCardInner.innerHTML = hoverCardHTML; }); } } }); //Hide the hover card on mouseout avatar.addEventListener('mouseout', () => { const hoverCardContainer = avatar.nextElementSibling; hoverCardContainer.classList.remove('profile-hover-card-show'); }); hoverCardInner.addEventListener('mouseout', () => { const hoverCardContainer = avatar.nextElementSibling; hoverCardContainer.classList.remove('profile-hover-card-show'); }); hoverCardInner.addEventListener('mouseover', () => { const hoverCardContainer = avatar.nextElementSibling; hoverCardContainer.classList.add('profile-hover-card-show'); }); }); });
Turn on suggestions Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Showonly | Search instead for
Did you mean:
- Community
- Canvas
- Canvas LMS
- Canvas Question Forum
- why cant i log out of canvas?
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
`; const toolTip = document.createElement('div'); toolTip.classList.add('like-button-tooltip'); toolTip.innerHTML = toolTipCode; likeButton.appendChild(toolTip); } document.addEventListener('DOMContentLoaded', function () { const likeButton = document.querySelector('.lia-button-image-kudos'); const likeButtonLink = document.querySelector('.kudos-link'); let likeDismissCookie = localStorage.getItem("inst_comm_like_dismiss"); if (!likeDismissCookie) { localStorage.setItem("inst_comm_like_dismiss", "-1"); loginDate = -1; } if (likeDismissCookie !== "-1") { // toolTip.style.display = 'none'; const storedTime = new Date(parseInt(loginDate)); const currentTime = new Date(); if (storedTime.getTime() < currentTime.getTime()) { localStorage.setItem("inst_comm_like_dismiss", "-1"); } } else { createToolTip(likeButton, likeButtonLink); const toolTip = document.querySelector('.like-button-tooltip'); const toolTipClose = document.querySelector('.like-button-tooltip-close'); const observer = new IntersectionObserver(entries => { entries.forEach(entry => { if (entry.isIntersecting) { toolTip.style.display = 'block'; setTimeout(() => { toolTip.style.opacity = '1'; }, 2000); // toolTip.style.animationName = 'toolTipFlash'; // Stop observing once elementOne is visible observer.unobserve(likeButton); } }); }); // Start observing elementTwo observer.observe(likeButton); likeButtonLink.addEventListener('click', () => { toolTip.style.display = 'none'; }); if (toolTipClose) { toolTipClose.addEventListener("click", function () { const now = new Date(); const fourteenDays = new Date(now.getTime() + 14 * 24 * 60 * 60 * 1000); // Adding 24 hours in milliseconds const epochTime = fourteenDays.getTime(); // Getting the epoch time in milliseconds localStorage.setItem("inst_comm_like_dismiss", epochTime); toolTip.style.display = 'none'; }); } setTimeout(() => { toolTip.style.opacity = '0'; setTimeout(() => { toolTip.style.display = 'none'; }, 500); // Fade out duration (0.5 seconds) + delay (0.5 seconds) = 1 second }, 15000); // Hide after 10 seconds (including 2-second fade-in delay) } });
why cant i log out of canvas?
Jump to solution
kassandrahayala
Community Novice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-201912:10 AM
my canvas wont let me log out. i click on the log out button but when i refresh the page it still has me logged in.. HELP
Solved!Go to Solution.
I also have this question
1 Solution
Jump to solution
Bobby2
Community Champion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-201904:44 AM
Hi @kassandrahayala Thank Youfor your question.
That sounds frustrating.
I borrowed an answer fromKelley L. Meeusen. I assume it will work for you.
Teachers logout the same as any other user in Canvas....
- click "Account" in the left-side global navigation menu, then
- Choose "Log Out".
If for some reason the Logout button you're seeing in the screenshot doesn't display for you, try clearing the cache and cookies in your browser, then close the window and relaunch. You should then be logged out of Canvas.How do I clear my browser cache on a Mac?andHow do I clear my browser cache on a PC?provide guidance.
Sing out if you need a hand.
View solution in original post
This reply answered my question
0Likes
- All forum topics
- Previous Topic
- Next Topic
4 Replies
Jump to solution
Bobby2
Community Champion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-201904:44 AM
Hi @kassandrahayala Thank Youfor your question.
That sounds frustrating.
I borrowed an answer fromKelley L. Meeusen. I assume it will work for you.
Teachers logout the same as any other user in Canvas....
- click "Account" in the left-side global navigation menu, then
- Choose "Log Out".
If for some reason the Logout button you're seeing in the screenshot doesn't display for you, try clearing the cache and cookies in your browser, then close the window and relaunch. You should then be logged out of Canvas.How do I clear my browser cache on a Mac?andHow do I clear my browser cache on a PC?provide guidance.
Sing out if you need a hand.
This reply answered my question
0Likes
Jump to solution
sapoepsilon
Community Novice
In response to Bobby2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-202312:56 PM
Hitting logout button doesn't log me out on Safari!
0Likes
Jump to solution
Chris_Hofer
Community Coach
In response to sapoepsilon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-202303:09 PM
@sapoepsilon...
That is a bit strange! Are you able to try logging in/out using a different browser such as Mozilla Firefox or Google Chrome? In general, these two browsers are good choices when navigating around your Canvas course(s). You can run a browser check and see additional information by looking at this Guide:What are the browser and computer requirements for Instructure products?.
Another thing you can try is to clear your browser history/cache. Once you do that, close your browser completely. Then, re-start the browser and log back in to Canvas. Hopefully you'll be able to log out whenever you need to.
- How do I clear my browser cache on a Mac?
- How do I clear my browser cache on a PC?
Beyond this, I would recommend that you reach out to Canvas Support directly...as they may have some other suggestions for you to try.
- How do I get help with Canvas as a student?
- How do I get help with Canvas as an instructor?
Please keep us posted here in the Community if you have any other questions about this...thanks!
0Likes
Jump to solution
chriscas
Community Coach
In response to sapoepsilon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-202303:17 PM
@sapoepsilon,
To add one more thing to what@Chris_Hofermentioned...
If you're logging in with school/university credentials, it may be that the school has a typo in their logout address or that their login system is malfunctioning. I would let a Canvas administrator (usually in the IT / eLearning / Digital Education) areas of your school know you're having an issue so they can check whether or not it's a global issue and get it fixed if it is.
-Chris
2Likes
Unanswered Topics
Inbox: Why Do New Replies to Archived Conversation...
New Analytics not showing data in active course
LTI 1.3 Dynamic Registration failing
Canvas Email - Use of Archive
Quick way to assign outcomes to questions in Item ...
View All
Latest Topics
Inbox: Why Do New Replies to Archived Conversation...
New Analytics not showing data in active course
Quiz viewing after due date
401 Error while using Google Drive
Who is Instructure?
View All
View our top guides and resources:
Find My Canvas URL Help Logging into Canvas Generate a Pairing Code Canvas Browser and Computer Requirements Change Canvas Notification Settings Submit a Peer Review Assignment
To participate in the Instructurer Community, you need to sign up or log in:
Sign In