sst / ion

SST v3
https://sst.dev
MIT License
1.37k stars 177 forks source link

SST Ion Auth not working on firefox and safari #654

Open peterokwara opened 1 month ago

peterokwara commented 1 month ago

Weird Issue

SST Auth + Sign in with google works on Chrome based browsers (edge, arc, google chrome) but not on firefox or safari

on firefox this is what I get

Secure Connection Failed

An error occurred during a connection to d200x6qj6m2ry1.cloudfront.net.

• The page you are trying to view cannot be shown because the authenticity of the received data could not be
verified.
• Please contact the web site owners to inform them of this problem.

Learn more...

Try Again
Page Info — https://d20x6qj6m2ry1.cloudfront.net/google/authorize?response...

General Media Permissions Security

Web Site Identity
Web site: d2oox6qj6m2ry1.cloudfront.net
Owner: This web site does not supply ownership information.
Verified by: Not specified

Privacy & History
Have I visited this web site before today?

Is this web site storing information on my computer? Yes, 56 times
No Clear Cookies and Site Data

Have I saved any passwords for this web site? No View Saved Passwords

Technical Details
Connection Not Encrypted
The web site d20x6qj6m2ry1.cloudfront.net does not support encryption for the page you are viewing.
Information sent over the Internet without encryption can be seen by other people while it is in transit.

?

on Safari I get this error

Safari can't open the page "https://d2oox6qj6m2ry1.cloudfront.net/google/authorize?
response_type=code&redirect_uri=https%3A%2F%2Fd132xv5roouua.cloudfront.net%
2Fapi%2Fauth%2Fcallback&client_id=xxxxxxx&state=3c9b5d4e
-f6c4-4944-b171-c5eb99143632" because the server unexpectedly dropped the
connection. This sometimes occurs when the server is busy. Wait for a few minutes and
then try again.

I have my code (the sample code) here

https://github.com/peterokwara/sst-auth-sveltekit-issue

jayair commented 1 month ago

We'll get to this once we start working on Auth again.