riverrun / phauxth

Not actively maintained - Authentication library for Phoenix, and other Plug-based, web applications
409 stars 21 forks source link

Phoenix 1.4 #86

Closed dikaio closed 6 years ago

dikaio commented 6 years ago

Any hints on how to get this working with 1.4? From what I can see it's just a matter of updating the paths to prepend with the 1.4 standard way of references with Routes e.g. Routes.auth_path

riverrun commented 6 years ago

I am working on this at the moment - together with an update to version 2.0. I am updating the example app now, and I will send you a link when it's ready (hopefully, some time at the weekend).

dikaio commented 6 years ago

Thanks @riverrun!

riverrun commented 6 years ago

I have just updated the example app to use version 2.0.0-beta of Phauxth and 1.4.0-rc of Phoenix.

There is also this guide for updating Phoenix apps to 1.4.

Closing this issue for now, but feel free to comment, and if you have any feedback about the changes in version 2.0, please let me know.

dikaio commented 6 years ago

Thanks @riverrun!

I think 1.4.0-rc2 forward is going with {:plug_cowboy, "~> 2.0"}, in place of {:cowboy, "~> 1.0"} which is dependent on cowboy 2.5 so wasn't sure if I should have made changes to the example app with a pull request but did want to give you a heads up! Thanks again 👍

riverrun commented 6 years ago

Thanks for letting me know. I'll have a look at that myself and get back to you soon.

BryanJBryce commented 6 years ago

@dikaio I have a pull request out that fixes all the Route calls in the phauxth-installer repo. https://github.com/riverrun/phauxth_installer/pull/11