PerlDancer / PerlDancer/Dancer2-Plugin-Auth-Extensible
Additional parameters for authenticate_user
Nobody has claimed this yet.
- Dominant language
- Perl
- Stars
- 10
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
Unfortunately we restrict the parameters passed to authenticate_user to username and password.
It would be very useful to have additional parameters, especially if you want to authenticate
to a database selected by the user (as with a database admin interface).
This just came up again in a discussion on #ledgersmb.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in lib/Dancer2/Plugin/Auth/Extensible/Provider/Config.pm around line 75 and trace how authenticate_user receives and forwards credentials. Clarify the supported shape and handling of additional parameters, especially the user-selected database case; the work is done when those parameters can be supplied without breaking username/password authentication.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- perl
- Domain
- authentication, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100