HF RL Explorer

OAuth2 scope handling broken after recent changes

OAuth2 scope handling broken after recent changes: a task in harness-adapters: Agentic coding environments (Harbor dataset). The scope handling functions in oauthlib.oauth2.rfc6749.utils are producing incorrect results. When converting between scope lists and strings, the order is getting reversed…

The task

The scope handling functions in `oauthlib.oauth2.rfc6749.utils` are producing incorrect results. When converting between scope lists and strings, the order is getting reversed and some edge cases are not handled properly.

Part of harness-hub/harness-adapters.