modified config some more

This commit is contained in:
2026-03-01 23:11:50 -05:00
parent 1b20e6d215
commit 313177eff7

View File

@@ -193,13 +193,13 @@ in {
# 3. Write the Application ID → /var/lib/tuwunel/mastodon-oauth-client-id (chmod 400, owned by tuwunel) # 3. Write the Application ID → /var/lib/tuwunel/mastodon-oauth-client-id (chmod 400, owned by tuwunel)
# Write the Client Secret → /var/lib/tuwunel/mastodon-oauth-client-secret # Write the Client Secret → /var/lib/tuwunel/mastodon-oauth-client-secret
# 4. nixos-rebuild switch (or restart tuwunel.service) # 4. nixos-rebuild switch (or restart tuwunel.service)
oidc_providers = [ identity_provider= [
{ {
issuer = "https://${mastodonFqdn}"; issuer_url = "https://${mastodonFqdn}";
id = "oidc-mastodon"; id = "oidc-mastodon";
client_id_file = mastodonOauthClientIdFile; client_id = mastodonOauthClientIdFile;
client_secret_file = mastodonOauthClientSecretFile; client_secret = mastodonOauthClientSecretFile;
scopes = ["openid" "read:accounts"]; scope = ["openid" "read:accounts"];
} }
]; ];
}; };