Found the documentation to get the token without having a redirect rui that is a website.
This commit is contained in:
@ -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" |
|
||||
|
Reference in New Issue
Block a user