@toastynerd Sup Nerd? Hey, my schedule is packed like a can of sardines this week. Would it be alright if we met up next week? I will be better prepared, and it will be a better use of our time. (awwww).
@stephenboles I’m taking Wednesday through Friday off next week but I’m free all of Monday and Tuesday.
@toastynerd Perfect. When next week gets closer I will lock in the time.
Have a great 4th, and be safe, or not, just don't cost me, the taxpayer, any money. Cheers!
@stephenboles Sounds good man, you too.
Thank you sir.
Anna Luisa Patiño West
@ivanoats@toastynerd what's the code to get into the building on weekends? i tried scrolling back to find it but there are sooo many pugs :dog: i was thinking of going in to practice whiteboarding.
Have other folks received their EC2 credits yet? Wanted to check if we were still waiting on them, or if this was user error on my part when signing up?
@harberg If your waiting on the email, don't bother. If you go to the account section of aws, you should see them.
@dcorns I am looking in my account section and my balance is $0.00.
what should I use to parse cookies from the request headers?
@toastynerd Is there any reason I can't take JWT from header, or cookie header, or from the body of a request?
@Talamantez Thats pretty cool
Trying to lock down my map tile server by having the request go through node, node will verify the cookie then pipe the images right back to the browser, but google map library is making get requests with the provided url and I can't attach a jwt to the header
but the jwt is present in the cookie which is in the header
oh I found the cookie as a string in the header, what's the advance of cookie-parser?
that I don't have to parse the string to get the cookies probably?
thanks Anna Luisa!
Anna Luisa Patiño West
it just attaches it to the request so you can do req.cookies[name]
@toastynerd Design questions for ya. Say I have http required in server.js and I need it in one of my route files, what's the difference between requiring it into myRoute.js and passing it from server.js to myRoute.js with app and jwtauth.auth?
server.js doesn't do anything to http so I'm guessing it's best to just require it right into myRoute.js but I don't get the difference conceptually
or anyone else that knows
@kevinmstephens why do you need http in a route? It’s usually just used to start a server.
but yes, you can just require it into a route and it should be fine
ok, I want to pipe data from a map tile server to the client browser