Frederon
Frederon12mo ago

Resource SMTP cannot renew access token

It seems that my SMTP resource cannot renew access token. Whenever I tried to use the resource or renew access token. I got this error: Bad request: invalid client I tried to use dropdown, or the button, but still produces the same error. Any help would be appreaciated. Thank you
14 Replies
rubenf
rubenf12mo ago
smtp is not oauth so nore why you would have to renew tokens ? did you add a custom oauth client for smtp?
Frederon
FrederonOP12mo ago
i did not that's why i'm confused
rubenf
rubenf12mo ago
Will try to reproduce
Frederon
FrederonOP12mo ago
thank you so much
rubenf
rubenf12mo ago
Can you confirm you have not configured any oauth client with name SMTP ?
Frederon
FrederonOP12mo ago
do you mean this? i dont think i have configured anything except those oauth apis
rubenf
rubenf12mo ago
What happens if you create a new SMTP resource ? Does it also show you the refresh icon ?
Frederon
FrederonOP12mo ago
it doesn't show the refresh icon, now it is working it had been working like this before too (previous resource), but after several days, it broke
rubenf
rubenf12mo ago
Can you show me the content of an SMTP resource ? You can edit the password for secrecy
Frederon
FrederonOP12mo ago
i cannot edit the broken smtp resource, it shows me Bad request: invalid client but this is the new one, which is the same as previous one which is broken can resource and password variable point to the same path? is it expected?
rubenf
rubenf12mo ago
Yes it's expected I will do further investigation
Frederon
FrederonOP12mo ago
i see, thank you
rubenf
rubenf12mo ago
@Frederon do you have access to the tables ? Can you show the account table ? Ok I think I found an issue that could arise if the smtp resource was created just after creating an oauth resource, it will be fixed in next commit
Frederon
FrederonOP12mo ago
that was fast, thank you ah yes, I think I created an oauth resource before