Document binding existing accounts when setting up SSO after creating local accounts #18
Open
opened 2025-07-31 20:33:32 +00:00 by decentral1se
·
1 comment
No Branch/Tag Specified
main
sutty
renovate/pgautoupgrade-pgautoupgrade-18.x
anubis
forceSsl
upgrade
main-2
fauno-sqlite
entrypoint-fix
fix-uploads-volume
mayel-patch-1
3.1.1+1.11.1
3.1.0+1.11.0
3.0.10+1.10.8
3.0.9+1.10.7
3.0.8+1.10.7
3.0.7+1.10.6
3.0.6+1.10.5
3.0.5+1.10.5
3.0.4+1.10.4
3.0.3+1.10.3
3.0.2+1.10.3
3.0.1+1.10.3
3.0.0+1.10.1
2.0.0+1.10.1
1.2.2+1.10.1
1.2.1+1.10.0
1.2.0+1.10.0
1.1.0+1.9.9
1.0.1+1.9.9
1.0.0+1.9.9
0.6.0+1.9.9
0.5.1+1.9.8
0.5.0+1.9.6
0.4.0+1.9.3
0.3.0+1.9.3
0.2.0+1.9.3
0.1.0+1.8.2
No labels
Milestone
No items
No Milestone
Assignees
3wordchant
aadil (Aadil Ayub)
abra-bot (Abra Bot)
ammaratef45
amras (Sarma)
Apfelwurm
appletalk
arjan
basebuilder
BornDeleuze
Brooke
carla
cas (Cassowary)
codegod100
coopcloud
cyrnel
decentral1se (d1)
dede
devydave
fauno (fauno)
flancian
Frando
iexos
jade (Jade Ambrose)
javielico (Javielico)
jjsfunhouse
jmakdah2 (Jackie Makdah)
joe-irving (Joe Irving)
kawaiipunk (KawaiiPunk)
knoflook
kolaente
lambdabundesverband
linnealovespie (April)
marlon (marlon)
mayel
mirsal
moosemower
moritz
nicksellen (Nick Sellen)
notplants
oxaliq (sorrel)
p4u1
pau
pharaohgraphy (Andrew 🐦🔥❤️🔥✴️)
PhiNatalie
renovate-bot (Comrade Renovate Bot)
ripclap
rix
rscmbbng
sef (sef)
simon
sixsmith (Sixsmith)
stevensting
tobias
trav (Trav Fryer)
val (val (he/him))
vaznasty
virtualboys
wolcen (Chris Thompson)
wykwit
xynosis
yksflip
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/hedgedoc#18
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Magic hack: https://community.hedgedoc.org/t/how-to-bind-an-oauth2-user-to-an-ldap-user/1128/2
Actually it does already work but users lose all their history! Here's how to avoid that....
You might need to create a dummy test user first using your SSO login.
DONT use an email which clashes with an existing user. It will bind and delete all their history.
Then you'll be able to select that user in the db and see the
profile/profileidentry.For me (using
rauthy), it was (with dummy values):This
bazbazis the ID value that is sent from my SSO provider. Check your SSO admin user management view.Then, you update the user you want to bind and not lose history with those two fields.
Then log in with your SSO and you should still have your history + it binds.