Creating trusted OAuth App¶
Every command should be ran as the akkoma
user from it's home directory. For example if you are superuser, you would have to wrap the command in su akkoma -s $SHELL -lc "$COMMAND"
.
From source note about MIX_ENV
The mix
command should be prefixed with the name of environment your Akkoma server is running in, usually it's MIX_ENV=prod
Create trusted OAuth App.¶
Optional params:
* -s SCOPES
- scopes for app, e.g. read,write,follow,push
.
./bin/pleroma_ctl app create -n APP_NAME -r REDIRECT_URI
mix pleroma.app create -n APP_NAME -r REDIRECT_URI