[openstreetmap/openstreetmap-website] Return an error when a disabled authentication mechanism is used (PR #4496)
Tom Hughes
notifications at github.com
Thu Jan 25 21:09:45 UTC 2024
This extends the previous work to allow authentication basic auth and OAuth 1 to be disabled to return an error message so that users have some chance of discovering what is going on.
I'll make this a draft for now as we may want to add more detail to the messages...
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/4496
-- Commit Summary --
* Return an error when a disabled authentication mechanism is used
-- File Changes --
M app/controllers/api_controller.rb (18)
M app/controllers/application_controller.rb (4)
M app/controllers/oauth_controller.rb (2)
M config/locales/en.yml (2)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/4496.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4496.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4496
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4496 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240125/d6f066e5/attachment-0001.htm>
More information about the rails-dev
mailing list