Skip to content
Sign upLog in
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
2

Replit Auth not Redirecting

CosmicBear
CosmicBear

I'm trying to verify users using replit auth, but it isn't redirecting from the authorization page. This is the code:
<script authed="location.replace('/auth')" src="https://740f2678-b4d5-48aa-8e68-2860fdc57d73.id.repl.co/static/auth.js"></script>
The script is a modified version of https://auth.turbio.repl.co/script.js

The problem is that the function "authComplete" isn't running. I don't know javascript, but I assume that the script can't detect "message". I don't know how to fix this. Could someone please help?

Project Link:
https://replit.com/@skylercheng12/homepage#webApp.py

1 year ago
Answered by ch1ck3nView Answer

Voters

Comments

TopNew
1
ch1ck3n
ch1ck3n

instead of a form make it a div

1 year ago
1
ruiwenge2
ruiwenge2

it works though

1 year ago
1
CosmicBear
CosmicBear

@ruiwenge2
i just fixed it a few seconds ago

1 year ago
Load more