fix
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
|
||||
docker build -t mrbounty1/jade:jadeAlpha1 .
|
||||
docker push mrbounty1/jade:jadeAlpha1
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user