modified config some more
This commit is contained in:
@@ -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"];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user