gotgproto icon indicating copy to clipboard operation
gotgproto copied to clipboard

Client creation with session

Open l1ah1m opened this issue 10 months ago • 1 comments

Screenshot 2024-04-29 at 17 03 54

if i create a client with a ready session it still tries to authenticate the user. is there a way to cancel auth, if the session is passed?

l1ah1m avatar Apr 29 '24 12:04 l1ah1m

If it still tries to authenticate then it means that your session is invalid. You can disable automatic reauthentication flow by setting NoAutoAuth option to true in ClientsOpts.

Note: This option has not been pushed to release yet but you can use it by doing: go get github.com/celestix/gotgproto@beta

celestix avatar Apr 29 '24 13:04 celestix