winfsp / hubfs

File system for GitHub & GitLab
https://winfsp.dev
GNU Affero General Public License v3.0
1.62k stars 60 forks source link

Device flow is disabled #6

Closed Minion3665 closed 2 years ago

Minion3665 commented 2 years ago

When I try to run hubfs I get the following error

{23:39}~ ➭ hubfs /mnt
hubfs: client error: Device Flow must be explicitly enabled for this App (device_flow_disabled)

I suspect this is due to the recent github change which means that GitHub now requires device flow to be enabled for apps rather than having it enabled by default and the hubfs app does not yet have this enabled.

Update: a workaround in the meantime could be to use the -auth option to specify a different way of authenticating with GitHub. hubfs -auth optional /mnt, for example, doesn't give this error

billziss-gh commented 2 years ago

@Minion3665 thank you very much for identifying both the problem and the solution. I have now enabled "Device Flow" for hubfs.

I am closing this, but please reopen if you still have problems.