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
Locally defined scopes are ignored and others are used which depend on the authType.
This is the remote client config being used which is called here (and maybe in some other places)
When this function is called, it receives 2 configs. The one we define (the PlatformConfig), and that RemoteStoreConfig I just linked. scopes passed from the PlatformConfig are 100% ignored, and the ones defined in that RemoteClientConfigStore.get_client_config are used, which are [offline, all]
Expected behavior
The scopes used for auth should be the ones defined locally.
Describe the bug
Locally defined scopes are ignored and others are used which depend on the
authType
.This is the remote client config being used which is called here (and maybe in some other places)
When this function is called, it receives 2 configs. The one we define (the PlatformConfig), and that RemoteStoreConfig I just linked. scopes passed from the PlatformConfig are 100% ignored, and the ones defined in that RemoteClientConfigStore.get_client_config are used, which are [offline, all]
Expected behavior
The scopes used for auth should be the ones defined locally.
Additional context to reproduce
That will use
['offline', 'all']
as the auth scopes, and notall
as expected.Screenshots
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: