Open danschultzer opened 4 years ago
Since we've worked on getting absinthe and pow working across websockets, HTTP and absinthe resolvers, i'd be happy to contribute back and write the first version of the guide. If you can give me a couple of high level guidelines I can start work on it
@dlobo I would love that! I would like something pretty similar to the API guide https://hexdocs.pm/pow/1.0.22/api.html#content
It should show the basic authentication and authorization using Pow so clients can register, sign in, and use authorization token for protected endpoints. It also needs to detail token renewal. I prefer to add complete tests for the code shown in guides to ensure full code coverage and encourage good practices.
@danschultzer @dlobo Any updates on this? I am finding it difficult to make it work with Absinthe.
@danschultzer - I have this working very well. My use cause is very specific, though.
I use PowAssent for Oauth 2.0, PowPersistentSession.Plug.Cookie, and Absinthe.
Would it be helpful for me to create a guide, despite the specificity?
A guide could be added that details how to get Pow working with absinthe.
Since absinthe doesn't expose conn there are some caveats on how to deal with user sessions. It has been discussed in Pow repo issues previously.
This issue has sample code that could be useful: https://github.com/danschultzer/pow/issues/61