Hi,
Hope someone can help me with this one. I'm trying to pull down a list of all repositories, i understand I need an access token to retrieve private repos. I have managed to do this using implicit grant:
https://bitbucket.org/site/oauth2/authorize?client_id={key}&response_type=token
But this will expire after two hours. So therefore I need to get an refresh token which and I can't get this with the implicit grant.
Any idea how i can get the access token along with the refresh token using httpclient, so I can then get a new token when the old one expires?
Thanks,
Richard