refactor(nuxt): update nuxt config
change auth cookie names
This commit is contained in:
		
							parent
							
								
									64acbb60f7
								
							
						
					
					
						commit
						20089dc0cd
					
				| @ -48,10 +48,12 @@ export default defineNuxtConfig({ | |||||||
| 				signInResponseTokenPointer: "/token/access", | 				signInResponseTokenPointer: "/token/access", | ||||||
| 				type: "Bearer", | 				type: "Bearer", | ||||||
| 				headerName: "Authorization", | 				headerName: "Authorization", | ||||||
| 				maxAgeInSeconds: 14 * 24 * 60 * 60, | 				maxAgeInSeconds: 15 * 60, | ||||||
|  | 				cookieName: "rockfic_cookie", | ||||||
| 			}, | 			}, | ||||||
| 			refreshToken: { | 			refreshToken: { | ||||||
| 				signInResponseRefreshTokenPointer: "/token/refresh", | 				signInResponseRefreshTokenPointer: "/token/refresh", | ||||||
|  | 				cookieName: "rockfic.refresh", | ||||||
| 			}, | 			}, | ||||||
| 			// @ts-ignore
 | 			// @ts-ignore
 | ||||||
| 			sessionDataType: {} as IUser, | 			sessionDataType: {} as IUser, | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user