GitLab-Time-Tracking icon indicating copy to clipboard operation
GitLab-Time-Tracking copied to clipboard

Gitlab 8.12 breaking

Open chandruxp opened this issue 8 years ago • 6 comments

Seems like private token is not given out by Gitlab user API any more. So it is breaking authentication for this app.

chandruxp avatar Sep 27 '16 17:09 chandruxp

You guys have a fix for it already? PR?

StephenOTT avatar Oct 02 '16 22:10 StephenOTT

Not yet.. We just had a workaround by hardcoding one private token for now. But proper fix is not yet done..

chandruxp avatar Oct 04 '16 13:10 chandruxp

How you hardcoded private token?

maksaimer avatar Oct 08 '16 18:10 maksaimer

https://github.com/StephenOTT/GitLab-Time-Tracking/blob/v0.1/app/app.rb#L187 This is where private_token is loaded after callback. I just replaced it with my private token instead. Ugly, but works..

chandruxp avatar Oct 10 '16 15:10 chandruxp

@chandruxp where did you get the token? It is personal access token (/profile/personal_access_tokens)?

maksaimer avatar Oct 10 '16 15:10 maksaimer

Got it in Accounts page of profile settings (/profile/account)

chandruxp avatar Oct 10 '16 17:10 chandruxp