gobuffalo / buffalo-auth

Buffalo auth plugin helps adding username password authentication to your app
https://gobuffalo.io
MIT License
41 stars 28 forks source link

Plugin does not work "our-of-the-box" #66

Closed arnagenomics closed 4 years ago

arnagenomics commented 4 years ago

Running the latest gobuffalo (v0.15.3) on Mac Catalina.

Performing the following steps:

  1. buffalo new bauth everything is fine
  2. cd bauth
  3. buffalo db create -a 3 databases created
  4. buffalo plugins install github.com/gobuffalo/buffalo-auth ok (no response)
  5. buffalo g auth also silent completion
  6. buffalo dev server starts up... Everything seems to have started - when accessing via http://localhost:3000/ get the error (TOO_MANY_REDIRECTS) and the following in the console:
INFO[2020-01-02T22:05:48+03:00] Starting application at http://127.0.0.1:3000
INFO[2020-01-02T22:05:48+03:00] Starting Simple Background Worker
INFO[2020-01-02T22:05:54+03:00] / content_type=text/html db=0s duration=86.172695ms human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-979784a928d312c96013 size=24 status=302
INFO[2020-01-02T22:05:54+03:00] / content_type=text/html db=0s duration=1.122236ms human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-647a1ada347589c74d89 size=24 status=302
INFO[2020-01-02T22:05:54+03:00] / content_type=text/html db=0s duration="756.25µs" human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-180cd9a3a9415fa198ce size=24 status=302
INFO[2020-01-02T22:05:54+03:00] / content_type=text/html db=0s duration="770.587µs" human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-9e91ee7f87884685cd52 size=24 status=302
INFO[2020-01-02T22:05:54+03:00] / content_type=text/html db=0s duration="809.652µs" human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-9d6b9d46fef409eeec69 size=24 status=302
INFO[2020-01-02T22:05:54+03:00] / content_type=text/html db=0s duration="876.247µs" human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-e8c560b9b3f616712e19 size=24 status=302
INFO[2020-01-02T22:05:54+03:00] / content_type=text/html db=0s duration="734.266µs" human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-89d225211adf3f5bae05 size=24 status=302
INFO[2020-01-02T22:05:54+03:00] / content_type=text/html db=0s duration="767.025µs" human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-5de0046c22bd15665b65 size=24 status=302
INFO[2020-01-02T22:05:54+03:00] / content_type=text/html db=0s duration="649.204µs" human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-553661d66ea675aefccd size=24 status=302
INFO[2020-01-02T22:05:54+03:00] / content_type=text/html db=0s duration="759.538µs" human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-376b52e8a9c4237182d1 size=24 status=302
INFO[2020-01-02T22:05:54+03:00] / content_type=text/html db=0s duration="736.935µs" human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-1e1f1f58610cdab91264 size=24 status=302
INFO[2020-01-02T22:05:54+03:00] / content_type=text/html db=0s duration="894.11µs" human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-c4d1f9c26843ee870cca size=24 status=302
INFO[2020-01-02T22:05:54+03:00] / content_type=text/html db=0s duration="705.747µs" human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-c5e4ebaf7c1fa1144ebc size=24 status=302
INFO[2020-01-02T22:05:54+03:00] / content_type=text/html db=0s duration=1.119858ms human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-0265577af72c5e80ed18 size=24 status=302
INFO[2020-01-02T22:05:54+03:00] / content_type=text/html db=0s duration="606.774µs" human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-f0e09d660ee896efd6f4 size=24 status=302
INFO[2020-01-02T22:05:54+03:00] / content_type=text/html db=0s duration="661.074µs" human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-026485eda1bc0ce1b5de size=24 status=302
INFO[2020-01-02T22:05:54+03:00] / content_type=text/html db=0s duration="641.977µs" human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-5dfa953392f1c49170ae size=24 status=302
INFO[2020-01-02T22:05:54+03:00] / content_type=text/html db=0s duration="804.935µs" human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-15de761ce22dd3824797 size=24 status=302
INFO[2020-01-02T22:05:54+03:00] / content_type=text/html db=0s duration="662.275µs" human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-02821a2bdb623d9bed8a size=24 status=302
INFO[2020-01-02T22:05:54+03:00] / content_type=text/html db=0s duration="603.925µs" human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-5b9bbe676ea56c4f28ae size=24 status=302
INFO[2020-01-02T22:05:59+03:00] / content_type=text/html db=0s duration=2.500551ms human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-5c14068d44aacee8e9c1 size=24 status=302
INFO[2020-01-02T22:05:59+03:00] / content_type=text/html db=0s duration=3.782355ms human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-3ea9d787291f025df720 size=24 status=302
INFO[2020-01-02T22:05:59+03:00] / content_type=text/html db=0s duration=5.61055ms human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-e8259dd20706a96a9852 size=24 status=302
INFO[2020-01-02T22:05:59+03:00] / content_type=text/html db=0s duration="763.041µs" human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-cb6df5a9b23ea559b6c7 size=24 status=302
INFO[2020-01-02T22:05:59+03:00] / content_type=text/html db=0s duration="956.053µs" human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-32187acd93bf0221f789 size=24 status=302
INFO[2020-01-02T22:05:59+03:00] / content_type=text/html db=0s duration="795.573µs" human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-19bc675a09db7ba24f69 size=24 status=302
INFO[2020-01-02T22:05:59+03:00] / content_type=text/html db=0s duration="976.963µs" human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-22c4d975eabe36cc98fa size=24 status=302
INFO[2020-01-02T22:05:59+03:00] / content_type=text/html db=0s duration=2.308745ms human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-97738cf016bab7783c61 size=24 status=302
INFO[2020-01-02T22:05:59+03:00] / content_type=text/html db=0s duration="724.521µs" human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-1788e684377b84b51a65 size=24 status=302
INFO[2020-01-02T22:05:59+03:00] / content_type=text/html db=0s duration="747.401µs" human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-f52e4e35feb1d913c4d6 size=24 status=302
INFO[2020-01-02T22:05:59+03:00] / content_type=text/html db=0s duration=3.740987ms human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-cad827177376b48894f3 size=24 status=302
INFO[2020-01-02T22:05:59+03:00] / content_type=text/html db=0s duration="866.883µs" human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-fc0afaf9d9859d53796c size=24 status=302
INFO[2020-01-02T22:05:59+03:00] / content_type=text/html db=0s duration=1.485481ms human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-66b155aa467eac5a50da size=24 status=302
INFO[2020-01-02T22:05:59+03:00] / content_type=text/html db=0s duration=1.346937ms human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-adcd3e17360c8864d942 size=24 status=302
INFO[2020-01-02T22:05:59+03:00] / content_type=text/html db=0s duration=1.088301ms human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-7dc331801958afcf2aa8 size=24 status=302
INFO[2020-01-02T22:05:59+03:00] / content_type=text/html db=0s duration=2.93361ms human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-306814463bc36ef38555 size=24 status=302
INFO[2020-01-02T22:05:59+03:00] / content_type=text/html db=0s duration=2.13562ms human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-34a3725b0d4c9e7462ba size=24 status=302
INFO[2020-01-02T22:05:59+03:00] / content_type=text/html db=0s duration=2.439783ms human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-48437aa89b5a9a746982 size=24 status=302
INFO[2020-01-02T22:05:59+03:00] / content_type=text/html db=0s duration=1.282544ms human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-56ad866d7f32a241d285 size=24 status=302
INFO[2020-01-02T22:05:59+03:00] / content_type=text/html db=0s duration=2.508805ms human_size="24 B" method=GET params="{}" path=/ request_id=bbeef03432005eb084ba-8708a7624ff808d95cd2 size=24 status=302
paganotoni commented 4 years ago

@arnagenomics Thanks for reporting this issue. Can you please try with v1.1.1. We've solved some of the issues there.

arnagenomics commented 4 years ago

No it works nicely! Thanks for fixing that!