File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 142142 function registerScratchAuth ( ) {
143143 const messageBox = document . getElementById ( "scratchMessage" ) ;
144144 const redirectLocation = encodeURIComponent ( window . location . href ) ;
145- const authUrl = `https://auth.itinerary.eu.org/auth?redirect= ${ redirectLocation } &name=Scratch%20Coding%20Hut&sign_in_method=cloud ` ;
145+ const authUrl = `https://scratchauth-codinghut.onrender.com ` ;
146146
147147 messageBox . style . color = "green" ;
148148 messageBox . textContent = "Redirecting to ScratchAuth... Follow the steps there." ;
@@ -204,7 +204,7 @@ <h2>For You</h2>
204204 < div id ="authSection " class ="content ">
205205 < div class ="container ">
206206 < h2 > Welcome! Please log in to continue.</ h2 >
207- < button onclick ="registerScratchAuth() "> Sign In With ScratchAuth</ button >
207+ < button onclick ="registerScratchAuth() "> Sign In With ScratchAuth (working) </ button >
208208 < p id ="scratchMessage " class ="message " aria-live ="polite "> </ p >
209209 < p > Please note: You will be redirected to an external site (ScratchAuth) for authentication.</ p >
210210 </ div >
You can’t perform that action at this time.
0 commit comments