Open cantutar opened 2 months ago
@cantutar the latest version of gorilla sessions breaks this package.
I didn't really look into it to much, and I know this might not be the best solution but if you want a quick and dirty fix, downgrade the package version.
Related issue: Updating dependencies breaks login: 549
github.com/gorilla/sessions v1.2.2 // indirect
Thanks for the heads up, I was in hurry to finish the project for tight deadline so switched auth0, maybe later try it again. 👍
Hi,
Im having a hard time to figure out why package is not working as expected.(Maybe im using wrong lol) but my current expected behavior put google and make it work with vite-react spa app. currently it redirects succesfully but not sets any session or cannot read any session with it so im using go 1.22.4 with;
(im not sure what causes the issue but after fighting straight 3 days with the package to make it work with gin and not getting a result is kinda bummer, i added redirects with sending vales to front as a workaround but its no use after no session to check basically. :( )
Edit: currently using with dev mode
my service for auth.go:
public routes to handle callback etc: public.go:
routes: