dwyl / auth

🚪 🔐 UX-focussed Turnkey Authentication Solution for Web Apps/APIs (Documented, Tested & Maintained)
https://authdemo.fly.dev
GNU General Public License v2.0
135 stars 9 forks source link

Internal Server Error at dwylauth.herokuapp.com #165

Closed tadasajon closed 2 years ago

tadasajon commented 2 years ago

I went to the GitHub homepage for the auth app and clicked on the featured link. I immediately got "Internal Server Error".

Screen Shot 2021-11-29 at 11 00 12 AM

Screen Shot 2021-11-29 at 10 57 03 AM

SimonLab commented 2 years ago

Log: image

nelsonic commented 2 years ago

@tadasajon thanks very much for reporting this. 👍 We haven't deployed anything new to dwylauth in over a week. https://dashboard.heroku.com/apps/dwylauth I've just deployed the main branch and get the following homepage: image

But when attempting to authenticate, I get the following error: 😢 image

Investigating ... 🔍

nelsonic commented 2 years ago

@tadasajon could you please try https://authdev.herokuapp.com/ which has the latest enhancements we've been making #159 🤞

tadasajon commented 2 years ago

When I click on https://authdev.herokuapp.com/ I get what looks like a properly-working auth app:

Screen Shot 2021-11-29 at 12 25 15 PM
nelsonic commented 2 years ago

@tadasajon thanks for confirming the dev version is working as expected. 👍 We are investigating why https://dwylauth.herokuapp.com/ is misbehaving. ⏳

nelsonic commented 2 years ago

PR to fix: #166 (just updates the version of auth_plug to latest).

nelsonic commented 2 years ago

The gist is this: the heroku App was still using the old version of AuthPlug.Token.client_id/0 so it wasn't splitting the AUTH_API_KEY environment variable properly ...

nelsonic commented 2 years ago

@tadasajon https://dwylauth.herokuapp.com/ should be working as expected now. Apologies if there was an inconvenience caused.

Perhaps we should have a disclaimer in the README.md to the effect of: "If you have any questions/ideas or spot an error, please open an issue; we're here to help!".