n8n-community-node / n8n-nodes-mastodon

MIT License
17 stars 4 forks source link

Add read scope by default #15

Open eXpl0it3r opened 9 months ago

eXpl0it3r commented 9 months ago

Hid the scope field, as editing it, doesn't seem to yield the correct result and it's how scopes have been implemented for most credentials

If you check the built-in OAuth credentials they all have the scope hidden field, except the generic OAuthApi credential. Seems to me, that editing the scope isn't really supported. Changing the default to use both read and write however seems to work. You may need to clear the cache, otherwise it may just reuse the previous default still.

Fixes #13