Cody Mize

Results 14 comments of Cody Mize

As far as a build goes, could you explain the advantages in splitting up app and admin? It would increase the amount of requests for a page load. Now I...

For anyone interested, I am working on moving the admin functionality into its own module. That should make it a lot easier to move it to a separate project, as...

If you're ok with an actual popup window you can do something like this: ![OAuth Popup](https://camo.githubusercontent.com/30b1edd7d39d87c505d52873a6cf73a1bafb1897/68747470733a2f2f636c6f756475702e636f6d2f63673875396b56563556682b)

@stanleygu in the `canary` branch, take a look at `app/templates/client/app/account(auth)/account(js).js`; specifically the `logout` controller and also the `$rootScope.$on('$routeChangeStart', fn)` or `$rootScope.$on('$stateChangeStart', fn)` (whether your doing ui-router or not) that should...

@stanleygu that's probably how I'd do it as well. IMHO OAuth itself is "kludgey" so you end up having to do some odd things at times.

Great explanation @andrewstuart :+1: @softBarbarian you should be able to use: `return res.redirect('https://' + req.headers.host + req.path);` to redirect them to the https version of whatever host/path they requested.

So if > http://mysite.com -> redirects to https but > https://mysite.com -> 404 where does: ``` http://mysite.com ``` redirect to?

To a 404? I'm only asking because you said that going to https:// manually gives you a 404. So does the redirect to https:// 404 as well?

@amobrem hi there, thanks for the post. I was wondering what was the use case for adding this to the generator as a prompt. I would say that its fairly...

That would be awesome @selipso. I know there has already been some talk of adding additional docs to the project. Perhaps we could start the conversation about how and where...