[{"data":1,"prerenderedAt":482},["ShallowReactive",2],{"\u002Fblog\u002Fhow-to-prevent-password-and-account-sharing-for-learnworlds":3},{"id":4,"title":5,"accomplishment1":6,"accomplishment2":6,"accomplishment3":6,"author":7,"body":8,"category":468,"createdAt":469,"description":470,"executiveSummary":6,"extension":471,"founded":6,"headquarters":6,"img":472,"meta":473,"navigation":474,"og-img":6,"path":475,"seo":476,"sitemap":477,"size":6,"status":478,"stem":479,"tags":480,"updatedAt":6,"website":6,"__hash__":481},"blog\u002F4.blog\u002F17.How to prevent password and account sharing for Learnworlds.md","How to prevent password and account sharing for Learnworlds courses & websites",null,"Ahmed Saleh",{"type":9,"value":10,"toc":461},"minimark",[11,15,25,32,35,40,48,52,60,64,72,422,433,437,440,443,447,457],[12,13,5],"h1",{"id":14},"how-to-prevent-password-and-account-sharing-for-learnworlds-courses-websites",[16,17,18,24],"p",{},[19,20,23],"a",{"href":21,"target":22},"https:\u002F\u002Fwww.learnworlds.com\u002F?utm_source=rupt.dev&utm_medium=blog&utm_campaign=how+to+prevent+password+and+account+sharing+for+learnworlds","_blank","Learnworlds"," is a great platform for creating and selling online courses. It's easy to use, has a lot of features, and is affordable. But what happens when someone shares their account with others? It can be devastating to see all of your hard work go down the drain because someone shared their account with others. There's no way to see who is sharing their account and how many people are using it. This is a common problem that many online course creators face, but it doesn't have to be this way!",[16,26,27,31],{},[19,28,30],{"href":29,"target":22},"https:\u002F\u002Fwww.rupt.dev\u002F?utm_source=rupt.dev&utm_medium=blog&utm_campaign=how+to+prevent+password+and+account+sharing+for+learnworlds","Rupt"," is an account sharing prevention software that uses a complex algorithm to detect & prevent account sharing. It's a simple and effective way to protect your courses and prevent password and account sharing for your Learnworlds courses. (And it doesn't hurt that revenue increases as you prevent account sharing!)",[16,33,34],{},"This is a step-by-step guide on how to prevent password and account sharing for Learnworlds courses.",[36,37,39],"h2",{"id":38},"step-1-create-a-rupt-account","Step 1: Create a Rupt account",[16,41,42,43,47],{},"The first step is to sign up for Rupt. You can do this by going to ",[19,44,46],{"href":45,"target":22},"https:\u002F\u002Fdashboard.rupt.dev\u002Fregister?utm_source=website&utm_medium=blog&utm_campaign=how+to-prevent-password+and+account+sharing+for+learnworlds+website","Rupt's website",".",[36,49,51],{"id":50},"step-2-note-your-rupt-api-key-client-id","Step 2: Note your Rupt API Key Client ID",[16,53,54,55],{},"After you sign up, you will be redirected to your dashboard. You will see your API Key Client ID. Make note of it.\n",[56,57],"img",{"alt":58,"src":59},"Rupt API Key Client ID","\u002Fimg\u002Fblog\u002Flms\u002Fshared\u002Fclient-id.png",[36,61,63],{"id":62},"step-3-install-rupt-on-your-learnworlds-website","Step 3: Install Rupt on your Learnworlds website",[16,65,66,67,71],{},"Now that you have your API Key Client ID, you can install Rupt on your Learnworlds website. To do this, you will need to add a custom code snippet to your website. You can do this by going to your Learnworlds dashboard and clicking on \"Site builder\" in the left-hand menu. Then click on \"Custom Code\". You'll see a black rectangle at the bottom of the screen with tabs for \"Head\" and \"Body\". Click on the ",[68,69,70],"code",{},"\u003Chead> logged in (html)"," tab and paste in the following code snippet:",[73,74,79],"pre",{"className":75,"code":76,"language":77,"meta":78,"style":78},"language-html shiki shiki-themes one-dark-pro monokai","\u003Cscript type=\"text\u002FJavaScript\">\n  const script = document.createElement(\"script\");\n  script.src = \"https:\u002F\u002Fcdn.rupt.dev\u002Fjs\u002Frupt.js\";\n  script.async = true;\n  script.addEventListener(\"load\", (event) => {\n    const logout_url = `https:\u002F\u002F${window.location.host}\u002Fsignout`;\n    window.Rupt.attach({\n      client_id: \"xxxx-xxxx-xxxx-xxxx\", \u002F\u002F Replace with your API Key Client ID\n      account: `{{ USER.ID }}`,\n      email: `{{ USER.EMAIL }}`,\n      metadata: {\n        email: `{{ USER.EMAIL }}`,\n      },\n      redirect_urls: {\n        logout_url: logout_url,\n        new_account_url: logout_url,\n      },\n    });\n  });\n  document.head.appendChild(script);\n\u003C\u002Fscript>\n","html","",[68,80,81,108,141,161,179,210,249,267,286,300,313,322,334,340,348,361,373,378,384,390,412],{"__ignoreMap":78},[82,83,86,90,94,98,101,105],"span",{"class":84,"line":85},"line",1,[82,87,89],{"class":88},"sFXR2","\u003C",[82,91,93],{"class":92},"s2zKK","script",[82,95,97],{"class":96},"spIlZ"," type",[82,99,100],{"class":88},"=",[82,102,104],{"class":103},"sgpKs","\"text\u002FJavaScript\"",[82,106,107],{"class":88},">\n",[82,109,111,115,119,123,126,128,132,135,138],{"class":84,"line":110},2,[82,112,114],{"class":113},"sfrnW","  const",[82,116,118],{"class":117},"syDQ0"," script",[82,120,122],{"class":121},"sBBc0"," =",[82,124,125],{"class":117}," document",[82,127,47],{"class":88},[82,129,131],{"class":130},"sUpKv","createElement",[82,133,134],{"class":88},"(",[82,136,137],{"class":103},"\"script\"",[82,139,140],{"class":88},");\n",[82,142,144,147,149,153,155,158],{"class":84,"line":143},3,[82,145,146],{"class":117},"  script",[82,148,47],{"class":88},[82,150,152],{"class":151},"sskXI","src",[82,154,122],{"class":121},[82,156,157],{"class":103}," \"https:\u002F\u002Fcdn.rupt.dev\u002Fjs\u002Frupt.js\"",[82,159,160],{"class":88},";\n",[82,162,164,166,168,171,173,177],{"class":84,"line":163},4,[82,165,146],{"class":117},[82,167,47],{"class":88},[82,169,170],{"class":151},"async",[82,172,122],{"class":121},[82,174,176],{"class":175},"sRaZW"," true",[82,178,160],{"class":88},[82,180,182,184,186,189,191,194,197,201,204,207],{"class":84,"line":181},5,[82,183,146],{"class":117},[82,185,47],{"class":88},[82,187,188],{"class":130},"addEventListener",[82,190,134],{"class":88},[82,192,193],{"class":103},"\"load\"",[82,195,196],{"class":88},", (",[82,198,200],{"class":199},"sLbzO","event",[82,202,203],{"class":88},") ",[82,205,206],{"class":113},"=>",[82,208,209],{"class":88}," {\n",[82,211,213,216,219,221,224,228,231,233,236,238,241,244,247],{"class":84,"line":212},6,[82,214,215],{"class":113},"    const",[82,217,218],{"class":117}," logout_url",[82,220,122],{"class":121},[82,222,223],{"class":103}," `https:\u002F\u002F",[82,225,227],{"class":226},"sqnWQ","${",[82,229,230],{"class":117},"window",[82,232,47],{"class":88},[82,234,235],{"class":117},"location",[82,237,47],{"class":88},[82,239,240],{"class":151},"host",[82,242,243],{"class":226},"}",[82,245,246],{"class":103},"\u002Fsignout`",[82,248,160],{"class":88},[82,250,252,255,257,259,261,264],{"class":84,"line":251},7,[82,253,254],{"class":117},"    window",[82,256,47],{"class":88},[82,258,30],{"class":117},[82,260,47],{"class":88},[82,262,263],{"class":130},"attach",[82,265,266],{"class":88},"({\n",[82,268,270,273,276,279,282],{"class":84,"line":269},8,[82,271,272],{"class":151},"      client_id",[82,274,275],{"class":88},": ",[82,277,278],{"class":103},"\"xxxx-xxxx-xxxx-xxxx\"",[82,280,281],{"class":88},", ",[82,283,285],{"class":284},"sDDnO","\u002F\u002F Replace with your API Key Client ID\n",[82,287,289,292,294,297],{"class":84,"line":288},9,[82,290,291],{"class":151},"      account",[82,293,275],{"class":88},[82,295,296],{"class":103},"`{{ USER.ID }}`",[82,298,299],{"class":88},",\n",[82,301,303,306,308,311],{"class":84,"line":302},10,[82,304,305],{"class":151},"      email",[82,307,275],{"class":88},[82,309,310],{"class":103},"`{{ USER.EMAIL }}`",[82,312,299],{"class":88},[82,314,316,319],{"class":84,"line":315},11,[82,317,318],{"class":151},"      metadata",[82,320,321],{"class":88},": {\n",[82,323,325,328,330,332],{"class":84,"line":324},12,[82,326,327],{"class":151},"        email",[82,329,275],{"class":88},[82,331,310],{"class":103},[82,333,299],{"class":88},[82,335,337],{"class":84,"line":336},13,[82,338,339],{"class":88},"      },\n",[82,341,343,346],{"class":84,"line":342},14,[82,344,345],{"class":151},"      redirect_urls",[82,347,321],{"class":88},[82,349,351,354,356,359],{"class":84,"line":350},15,[82,352,353],{"class":151},"        logout_url",[82,355,275],{"class":88},[82,357,358],{"class":151},"logout_url",[82,360,299],{"class":88},[82,362,364,367,369,371],{"class":84,"line":363},16,[82,365,366],{"class":151},"        new_account_url",[82,368,275],{"class":88},[82,370,358],{"class":151},[82,372,299],{"class":88},[82,374,376],{"class":84,"line":375},17,[82,377,339],{"class":88},[82,379,381],{"class":84,"line":380},18,[82,382,383],{"class":88},"    });\n",[82,385,387],{"class":84,"line":386},19,[82,388,389],{"class":88},"  });\n",[82,391,393,396,398,401,403,406,408,410],{"class":84,"line":392},20,[82,394,395],{"class":117},"  document",[82,397,47],{"class":88},[82,399,400],{"class":117},"head",[82,402,47],{"class":88},[82,404,405],{"class":130},"appendChild",[82,407,134],{"class":88},[82,409,93],{"class":151},[82,411,140],{"class":88},[82,413,415,418,420],{"class":84,"line":414},21,[82,416,417],{"class":88},"\u003C\u002F",[82,419,93],{"class":92},[82,421,107],{"class":88},[423,424,426],"alert",{"type":425},"warning",[16,427,428,429,432],{},"Replace ",[68,430,431],{},"xxxx-xxxx-xxxx-xxxx"," with your API Key Client ID.",[36,434,436],{"id":435},"step-4-verify-that-rupt-is-installed-correctly","Step 4: Verify that Rupt is installed correctly",[16,438,439],{},"To verify that Rupt is installed correctly, go to your Learnworlds website and log in. Then go to your Rupt dashboard and click on \"Accounts\". You should see your account listed there. If you don't see it, then something went wrong with the installation process and you will need to try again.",[16,441,442],{},"Note that you may need to toggle between Dev and Prod environments in the Rupt dashboard to see your account. Before going live, you should create a production API Key Client ID and use that instead of the one you used for testing.",[36,444,446],{"id":445},"conclusion","Conclusion",[16,448,449,450,453,456],{},"That's it! You've successfully installed Rupt on your Learnworlds website and can now prevent password and account sharing for your Learnworlds courses. If you have any questions or need help with the installation process, please don't hesitate to contact us at ",[19,451],{"href":452,"target":22},"mailto:support@rupt.dev",[19,454,455],{"href":452},"support@rupt.dev",". We're happy to help!",[458,459,460],"style",{},"html pre.shiki code .sFXR2, html code.shiki .sFXR2{--shiki-default:#ABB2BF;--shiki-dark:#F8F8F2}html pre.shiki code .s2zKK, html code.shiki .s2zKK{--shiki-default:#E06C75;--shiki-dark:#F92672}html pre.shiki code .spIlZ, html code.shiki .spIlZ{--shiki-default:#D19A66;--shiki-dark:#A6E22E}html pre.shiki code .sgpKs, html code.shiki .sgpKs{--shiki-default:#98C379;--shiki-dark:#E6DB74}html pre.shiki code .sfrnW, html code.shiki .sfrnW{--shiki-default:#C678DD;--shiki-default-font-style:inherit;--shiki-dark:#66D9EF;--shiki-dark-font-style:italic}html pre.shiki code .syDQ0, html code.shiki .syDQ0{--shiki-default:#E5C07B;--shiki-dark:#F8F8F2}html pre.shiki code .sBBc0, html code.shiki .sBBc0{--shiki-default:#56B6C2;--shiki-dark:#F92672}html pre.shiki code .sUpKv, html code.shiki .sUpKv{--shiki-default:#61AFEF;--shiki-dark:#A6E22E}html pre.shiki code .sskXI, html code.shiki .sskXI{--shiki-default:#E06C75;--shiki-dark:#F8F8F2}html pre.shiki code .sRaZW, html code.shiki .sRaZW{--shiki-default:#D19A66;--shiki-dark:#AE81FF}html pre.shiki code .sLbzO, html code.shiki .sLbzO{--shiki-default:#E06C75;--shiki-default-font-style:italic;--shiki-dark:#FD971F;--shiki-dark-font-style:italic}html pre.shiki code .sqnWQ, html code.shiki .sqnWQ{--shiki-default:#C678DD;--shiki-dark:#F92672}html pre.shiki code .sDDnO, html code.shiki .sDDnO{--shiki-default:#7F848E;--shiki-default-font-style:italic;--shiki-dark:#88846F;--shiki-dark-font-style:inherit}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":78,"searchDepth":110,"depth":110,"links":462},[463,464,465,466,467],{"id":38,"depth":110,"text":39},{"id":50,"depth":110,"text":51},{"id":62,"depth":110,"text":63},{"id":435,"depth":110,"text":436},{"id":445,"depth":110,"text":446},"Integrations","2023-08-06","The fastest way to protect courses and prevent password and account sharing for Learnworlds courses & websites.","md","\u002Fimg\u002Fblog\u002Flms\u002Flearnworlds-blog.png",{},true,"\u002Fblog\u002Fhow-to-prevent-password-and-account-sharing-for-learnworlds",{"title":5,"description":470},{"loc":475},"published","4.blog\u002F17.How to prevent password and account sharing for Learnworlds","learnworlds, online courses, password sharing, e-learning platform, account security","jxgFXK4Xr8NZHzjoRFTiWJT2XWje4PHpV2zQwFV1CLM",1776716934932]