use specific scopes

This commit is contained in:
Robert 2021-01-06 20:56:49 -06:00 committed by Morgan McMillian
parent fa6dd5126f
commit b00dcb8f63

View file

@ -129,7 +129,7 @@ class LoginPage(Gtk.Box):
client_id = "1PiUzxfX_CQxKvtz93lUzPX9-FMtz-va"
redirect_uri = "urn:ietf:wg:oauth:2.0:oob"
scope = "basic,stream,write_post,follow,presence,messages,files,polls"
scope = "basic,stream,write_post,follow,presence,messages:io.pnut.core.chat,messages:io.pnut.core.pm,files:squeak.thrrgilag,polls"
uri = "https://pnut.io/oauth/authenticate"
uri += "?client_id=" + client_id