File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 142
142
function registerScratchAuth ( ) {
143
143
const messageBox = document . getElementById ( "scratchMessage" ) ;
144
144
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 ` ;
146
146
147
147
messageBox . style . color = "green" ;
148
148
messageBox . textContent = "Redirecting to ScratchAuth... Follow the steps there." ;
@@ -204,7 +204,7 @@ <h2>For You</h2>
204
204
< div id ="authSection " class ="content ">
205
205
< div class ="container ">
206
206
< 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 >
208
208
< p id ="scratchMessage " class ="message " aria-live ="polite "> </ p >
209
209
< p > Please note: You will be redirected to an external site (ScratchAuth) for authentication.</ p >
210
210
</ div >
You can’t perform that action at this time.
0 commit comments