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
{{ message }}
Repository navigation
Refreshing a token whose scope is a string sends the scope split into single characters #252
When scope is a string, " ".join() iterates over its characters. The case #68 was meant to fix now gets past the check and sends this to the token endpoint:
scope sent: 'o p e n i d o f f l i n e _ a c c e s s a c c o u n t i n g . t r a n s a c t i o n s'
The same happens through api_client.refresh_oauth2_token() when the token returned by oauth2_token_getter has a space-delimited scope. That is the format Xero returns, and what libraries such as Authlib store.
Activity