From d4194354629e9b70ae918626e08a1065974de6c8 Mon Sep 17 00:00:00 2001 From: stormdragon2976 Date: Sun, 29 Jan 2023 15:42:54 -0500 Subject: [PATCH] Found the documentation to get the token without having a redirect rui that is a website. --- ratatoskr-success.html | 30 ------------------------------ ratatoskr.sh | 2 +- 2 files changed, 1 insertion(+), 31 deletions(-) delete mode 100644 ratatoskr-success.html diff --git a/ratatoskr-success.html b/ratatoskr-success.html deleted file mode 100644 index f26af45..0000000 --- a/ratatoskr-success.html +++ /dev/null @@ -1,30 +0,0 @@ - - -Ratatoskr success! - - -

Authorized successfully

-

-Please copy and paste this code into your waiting Ratatoskr: -

-
- - - diff --git a/ratatoskr.sh b/ratatoskr.sh index 62635e0..34baff5 100755 --- a/ratatoskr.sh +++ b/ratatoskr.sh @@ -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" |