Gitea Login #16
Labels
No labels
bug
duplicate
enhancement
help wanted
infeasible
invalid
question
wontfix
bug
duplicate
enhancement
help wanted
invalid
question
renovate-bot
renovate-security
security
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Total time spent: 8 hours
Due date
realaravinth
8 hours
No due date set.
Dependencies
No dependencies set.
Reference: LibrePages/librepages#16
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary:
(code is yet to be pushed, since it is lacking integration testing)
Abandoning effort. Code dump lives in
wip-gitea-login
branch.I had originally planned an approach where a customer can add OAuth configurations (client ID, client secret and instance URL) to LibrePages via an unauthenticated form:
This would enable customers to configure LibrePages to work with any indie Gitea instance without requiring assistance from LibrePages instance administer. A new customer who wishes to sign up could search for registered Gitea instances on LibrePages and use OAuth to sign in.
Gitea login is infeasible because OAuth credentials provided by customers aren't reliable: the customer can delete them on their Gitea instance, and we'd only know about it after the fact. An alternative is to request LibrePages instance admin to create an account on the Gitea instance and add it manually to LibrePages. People run indie instances to stay independent, so this solution is not an ideal fit.