You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I'm facing an issue while trying to authorize against the snac2 mastodon api.
The fetch_access_token returns an error: missing field scope at line 5 column 1
Hello! I'm facing an issue while trying to authorize against the snac2 mastodon api.
The fetch_access_token returns an error:
missing field scope at line 5 column 1
Snac supports subset of the mastodon's API, but it does not return the
scope
field, if there were no such field in the request: https://codeberg.org/grunfink/snac2/src/commit/2769e6b1d76b1043f8d8cdb928a95ade48b8ebff/mastoapi.c#L404Megalodon does not send the
scope
field: https://docs.rs/megalodon/latest/src/megalodon/mastodon/mastodon.rs.html#135But it looks like it is Ok for oauth server to not return
scope
in the response, if it is identical to the scope requested by the client: https://datatracker.ietf.org/doc/html/rfc6749#section-5.1I'm not sure if it worth to add new SNS for the snac to fix this. Can we make
scope
field optional in theTokenDataFromServer
struct?The text was updated successfully, but these errors were encountered: