How can I authenticate by rest api oauth2

You can see your ss const is being converted using btoa() in the Authorization field. The btoa function is not standard in Wappler, so you’ll need to set up a custom formatter.

I would think your API Action would look something like this.