Skip to content

2FA not supported #4

@Zac0511

Description

@Zac0511

I noticed that Puter FUSE can't be used if the user haves 2FA enabled.
Here's what my terminal said when i tried to run it :

zachary@CatPC:~$ go run github.com/HeyPuter/puter-fuse@v1.0.0
[]
Username: Zac0511
Password: **************
Authentication Host: https://puter.com
API Host: https://api.puter.com
Mountpoint: /tmp/mnt
{"proceed":true,"next_step":"otp","otp_jwt_token":"t o k e n}
panic: unexpected status: 202

goroutine 1 [running]:
main.configure()
	/home/zachary/go/pkg/mod/github.com/!hey!puter/puter-fuse@v1.0.0/configure.go:114 +0xaee
main.main()
	/home/zachary/go/pkg/mod/github.com/!hey!puter/puter-fuse@v1.0.0/main.go:80 +0x1af
exit status 2
zachary@CatPC:~$ 

The text t o k e n replaces a long chain that could have been my auth token, which is why i replaced it

2FA support should be added, as most of users that care about security will have it enabled, and wouldn't be able to use puter-fuse.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions