Commit 9b871a9
committed
Update cookie settings in SocialAuthController and session configuration for enhanced security
This commit modifies the cookie settings in the SocialAuthController to use 'none' for the SameSite attribute, allowing cross-site cookie usage. Additionally, it updates the session configuration to set the secure cookie option to true and changes the SameSite setting to be environment variable driven, improving security and flexibility in cookie handling.1 parent bdd8dc2 commit 9b871a9
File tree
2 files changed
+4
-4
lines changed- app/Http/Controllers/Auth
- config
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
| 199 | + | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| |||
0 commit comments