Wire up passing credentials from FediPanel to the Mastodon configuration #189
Labels
No labels
ambition
application-offering
ambition
configure-applications
ambition
front-end
ambition/install-applications
ambition
security
ambition
switch-host
ambition
update-applications
ambition
user-management
blocked
component
api-service
component
fediversity-panel
component
nixops4
documentation
points
0
points
0.5
points
1
points
13
points
2
points
21
points
3
points
34
points
5
points
55
points
8
points
infinite
productisation
project-management
question
role
application-developer
role
application-operator
role
hosting-provider
role
maintainer
security
technical debt
testing
type
bug
type
deliverable
type
key-result
type
objective
type
task
type
unclear
type
user-story
user experience
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Blocks
#178 admin accounts provisioned for deployed services
fediversity/fediversity
#192 Write a test that validates Mastodon credentials are indeed valid
fediversity/fediversity
Reference
fediversity/fediversity#189
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?
As a Fediversity user,
I want to choose my initial user credentials,
so that I can log in to my Mastodon instance.
Test:
Given that I am in the panel,
when I am filling the deployment form,
then I should be able to specify my initial credentials such that I can log in to my deployed instance.
implementation notes
c.f.:
the manual command from the wiki seems not to work:
(would this relate to
ProtectHomein the Mastodon systemd services?)fix: log in to the
mastodonuser bysudo su - mastodon -s $(which bash), then try the wiki commands without thesudo -u mastodonwould it work better to try this from nix as we did for pixelfed?
this post presumes you create the account by the web interface, but by default ours seems to have registrations disabled, tho none of the env vars regulating registration seem set so far, nor in the module afaict. hm.
edit: allegedly the nix service does limit mastodon to single-user (why? can the related env var undo this?).
@kiara wrote in Fediversity/Fediversity#189 (comment):
This is only explicitly enabled in the example from the wiki. I also can't find any indication that anything forces this on our end.
to reproduce:
I could reproduce already, I just wanted to confirm that I don't see an obvious cause for this.
The command we have in Taeer's documentation is:
which differs only on the
--role=Ownerthing. I haven't tried it recently though.Re single-user, a lot of services disable user creation by default, so maybe that is just what is happening here?
@Niols wrote in Fediversity/Fediversity#189 (comment):
i don't see this configured in nixpkgs or (as @fricklerhandwerk noted) on our end, but don't have a better explanation myself
out of scope for now as per #327
closing in favor of #178 given this application does LDAP