Separate login Javascript code into its own asset
Open
Nobody has claimed this yet.
flask
- Dominant language
- Python
- Stars
- 40
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
It should be easier to make a custom login page for Authl. Making the login page's JS a fetchable asset would help a lot.
Similarly to how you can fetch the default login stylesheet with {{login?asset=css}} this could be added as {{login?asset=js}}.
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 by locating the code that serves the default login stylesheet through {{login?asset=css}} and inspect how the login page currently handles JavaScript. Add the corresponding {{login?asset=js}} asset behavior, then verify that a custom login page can fetch and use the separated script.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- flask, javascript, python
- Domain
- authentication, backend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100