WIN Block Registration

How to Get Your Authorization Token

1

First, log in to your MyFlexLearning account in your web browser.

2

Click on this code to copy it to your clipboard:

xjavascript:(function()%7Bfunction%20copyTokenToClipboard()%20%7B%0A%20%20const%20token%20%3D%20localStorage.getItem('jwtToken')%3B%0A%0A%20%20if%20(token)%20%7B%0A%20%20%20%20const%20textarea%20%3D%20document.createElement('textarea')%3B%0A%20%20%20%20textarea.value%20%3D%20token%3B%0A%20%20%20%20document.body.appendChild(textarea)%3B%0A%0A%20%20%20%20textarea.select()%3B%0A%0A%20%20%20%20try%20%7B%0A%20%20%20%20%20%20document.execCommand('copy')%3B%0A%20%20%20%20%20%20console.log('Token%20copied%20to%20clipboard.')%3B%0A%20%20%20%20%7D%20catch%20(err)%20%7B%0A%20%20%20%20%20%20console.error('Failed%20to%20copy%20token%3A%20'%2C%20err)%3B%0A%20%20%20%20%7D%20finally%20%7B%0A%20%20%20%20%20%20document.body.removeChild(textarea)%3B%0A%20%20%20%20%7D%0A%20%20%7D%20else%20%7B%0A%20%20%20%20console.log('No%20token%20found%20in%20local%20storage.')%3B%0A%20%20%7D%0A%7D%0A%0AcopyTokenToClipboard()%3B%7D)()%3B
3

Paste the text into your browser's address bar (where you type website addresses) while on the MyFlexLearning website.

4

Delete the letter "x" from the beginning of the text in your address bar.

5

Press Enter in your address bar.

6

Your authorization token will be automatically copied to your clipboard.

Important: Make sure you're logged into MyFlexLearning when you do this. The token will be copied to your clipboard automatically - you don't need to do anything else!