Found the documentation to get the token without having a redirect rui that is a website.

This commit is contained in:
stormdragon2976
2023-01-29 15:42:54 -05:00
parent a55ce4db79
commit d419435462
2 changed files with 1 additions and 31 deletions

View File

@ -31,7 +31,7 @@ get_oauth_token() {
instanceURL="https://${instanceURL}"
fi
done
redirectURI="https://billy.wolfe.casa/ratatoskr-success.html"
redirectURI="urn:ietf:wg:oauth:2.0:oob"
website="https://git.stormux.org/storm/ratatoskr"
# get client id and secret
curl -s -X POST -d client_name="${softwareName}" -d "redirect_uris=${redirectURI}" -d "scopes=read write follow push" -d "website=${website}" "${instanceURL}/api/v1/apps" |