You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a system that authenticates via secure cookie or api token (depending on if the client is the browser or CLI). I currently have this set up on the encore side with:
This works great on the backend side, I didn't run into any issues until I started integrating the client. I can generate the client but when I try and build (exec TS check) I'm running into an issue with the following generated lines in the callAPI method
I have a system that authenticates via secure cookie or api token (depending on if the client is the browser or CLI). I currently have this set up on the encore side with:
This works great on the backend side, I didn't run into any issues until I started integrating the client. I can generate the client but when I try and build (exec TS check) I'm running into an issue with the following generated lines in the
callAPI
methodThis throws the following error because both
authData.cookie
andauthData.token
are optionalThe text was updated successfully, but these errors were encountered: