Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teknik.io integration is partially broken #4533

Closed
ghost opened this issue Dec 21, 2019 · 9 comments
Closed

Teknik.io integration is partially broken #4533

ghost opened this issue Dec 21, 2019 · 9 comments
Labels

Comments

@ghost
Copy link

ghost commented Dec 21, 2019

There is an issue with the teknik uploader when using your account where the account is automatically disconnected from ShareX after a while. I contacted Teknik support via email and this is what they said.

I believe the issue is that the way sharex is getting the access token, it isn't then getting a refresh token to be able to ask and get a fresh token for every request. It's only using a single auth token which expires after a set period of time. The short workaround is to relink your teknik account when it expires. But fundamentaly the oauth sharex is using needs to instead support refresh tokens and use those.

If possible please consider fixing this uploader. Here's the original link: #778

@Llorx
Copy link

Llorx commented Mar 14, 2020

+1. This problem is really annoying as you won't receive any error, just will upload it as anonymous, and the anonymous upload expires after 24 hours.

Teknik is the best working for sharing media on chat services. Please fix this.

@Vexz00
Copy link

Vexz00 commented Jul 24, 2020

+1
This is really annoying. It is still not fixed yet even after over a half year.

@Jaex
Copy link
Member

Jaex commented Aug 16, 2020

Teknik developer pull requested uploader support to ShareX. So he can easily fix it because he knows the code he wrote himself.

@adamnejm
Copy link

@uncled1023

@uncled1023
Copy link
Contributor

I'll take a look at it. Need to do some reworking of the oauth module in ShareX to use refresh tokens to get the actual access tokens to use for authentication. As well, currently Teknik requires authentication, so will need to make that clear in the module.

@uncled1023
Copy link
Contributor

As well, it should still work if you authenticate in the uploader settings. It just won't stay authenticated for long, as the oauth module doesn't leverage refresh tokens.

@Jaex
Copy link
Member

Jaex commented Aug 16, 2020

Need to do some reworking of the oauth module in ShareX to use refresh tokens to get the actual access tokens to use for authentication.

No need reworking oauth module, it already supports auto refreshing expired tokens. Currently few uploaders already using it, such as: Imgur, Google Drive, OneDrive, Gfycat, Box etc. So you can check these uploaders for example usage.

@uncled1023
Copy link
Contributor

Need to do some reworking of the oauth module in ShareX to use refresh tokens to get the actual access tokens to use for authentication.

No need reworking oauth module, it already supports auto refreshing expired tokens. Currently few uploaders already using it, such as: Imgur, Google Drive, OneDrive, Gfycat, Box etc. So you can check these uploaders for example usage.

Awesome, must have missed that when I first implemented the uploader. I'll use that then.

@ItsCubeTime
Copy link

ItsCubeTime commented Jul 19, 2021

I havent been able to refresh my token for Teknik.io in the past week. Can someone check if theres some bug currently? @uncled1023 @Jaex

Demo:
https://user-images.githubusercontent.com/20190653/126166966-e95ebd15-8030-4e77-b985-c7225b2acbda.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants