Skip to content

Commit

Permalink
Set .yext.com domain on login cookie
Browse files Browse the repository at this point in the history
Trying to see if this allows the hitchhiker cookie to be shared between Hitchhikers and Storm to allow easier account linking
  • Loading branch information
davidwen authored Nov 9, 2022
1 parent 4b224e9 commit dec0042
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ func (a *API) setCookieToken(config *conf.Configuration, tokenString string, ses
Secure: true,
HttpOnly: true,
Path: "/",
Domain: ".yext.com",
}
if !session {
cookie.Expires = time.Now().Add(exp)
Expand Down

0 comments on commit dec0042

Please sign in to comment.