diff --git a/_commands.md b/_commands.md new file mode 100644 index 0000000..ef5508b --- /dev/null +++ b/_commands.md @@ -0,0 +1,3 @@ + +docker build -t mrbounty1/jade:jadeAlpha1 . +docker push mrbounty1/jade:jadeAlpha1 \ No newline at end of file diff --git a/login.go b/login.go index e8b4450..28d1afa 100644 --- a/login.go +++ b/login.go @@ -32,7 +32,7 @@ type TokenResponse struct { ProviderToken string `json:"provider_token"` } -const EDGEDB_AUTH_BASE_URL = "http://127.0.0.1:10700/db/main/ext/auth" +const EDGEDB_AUTH_BASE_URL = "https://jade-hackathon--mrbounty.c-40.i.aws.edgedb.cloud/db/main/ext/auth" func getGoogleUserProfile(providerToken string) (string, string, string) { // Fetch the discovery document @@ -143,7 +143,6 @@ func handleUiSignIn(c *fiber.Ctx) error { HTTPOnly: true, Path: "/", Secure: true, - SameSite: "Strict", }) return c.Redirect(fmt.Sprintf("%s/ui/signup?challenge=%s", EDGEDB_AUTH_BASE_URL, challenge), fiber.StatusTemporaryRedirect) @@ -185,7 +184,6 @@ func handleCallbackSignup(c *fiber.Ctx) error { HTTPOnly: true, Path: "/", Secure: true, - SameSite: "Strict", }) // Get the issuer of the identity