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

Dropbox login | ERROR 500 #3437

Closed
2 of 7 tasks
alexandrestein opened this issue Jan 31, 2018 · 4 comments · Fixed by #3533
Closed
2 of 7 tasks

Dropbox login | ERROR 500 #3437

alexandrestein opened this issue Jan 31, 2018 · 4 comments · Fixed by #3533
Labels
Milestone

Comments

@alexandrestein
Copy link

  • Gitea version (or commit ref): f9a5cc4
  • Git version: 2.15.0
  • Operating system: Ubuntu Linux host but running in Docker with de standard latest image
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No -> the Dropbox login is not available
    • Not relevant
  • Log gist:
    I'm not sure what you're talking about but this looks to display the error:
[Macaron] 2018-01-31 11:50:35: Started GET /user/oauth2/dropbox for 145.239.14.126
[Macaron] 2018-01-31 11:50:35: Completed GET /user/oauth2/dropbox 307 Temporary Redirect in 1.948058ms
[Macaron] 2018-01-31 11:50:46: Started GET /user/oauth2/dropbox/callback?state=b809e90d-bfeb-48ec-9f4f-c591ed257bcc&code=t3gRdKRB6qgAAAAAAAAA3D9YWFDz1xUOvYjzvKtLzCU for 145.239.14.126
[Macaron] 2018-01-31 11:50:48: Completed GET /user/oauth2/dropbox/callback?state=b809e90d-bfeb-48ec-9f4f-c591ed257bcc&code=t3gRdKRB6qgAAAAAAAAA3D9YWFDz1xUOvYjzvKtLzCU 404 Not Found in 1.195064719s
[Macaron] 2018-01-31 11:50:48: Started GET /img/500.png for 145.239.14.126

Description

When clicking on the Dropbox logo the navigation goes to the login page of Dropbox and valide the login.
But when I get back to the Gitea login page I get the error 500.

All other external login I deployed are working great.

Screenshots

capture d ecran de 2018-01-31 13-03-12

@SuperSandro2000
Copy link
Contributor

Reference: markbates/goth#204 and https://www.dropbox.com/developers/reference/migration-guide
The goth library uses dropbox api v1 and it is no longer supported.

@lunny lunny added the status/blocked This PR cannot be merged yet, i.e. because it depends on another unmerged PR label Feb 4, 2018
@SuperSandro2000
Copy link
Contributor

SuperSandro2000 commented Feb 15, 2018

markbates/goth#205 the update has been merged into goth.
markbates/goth@bc7deaf

@lafriks lafriks added backport/v1.4 and removed status/blocked This PR cannot be merged yet, i.e. because it depends on another unmerged PR labels Feb 15, 2018
@lafriks lafriks added this to the 1.4.0 milestone Feb 15, 2018
@lunny
Copy link
Member

lunny commented Feb 16, 2018

Then we only need govendor update goth?

@SuperSandro2000
Copy link
Contributor

I think so. I don't know about any api changes in goth. Just the URL endpoints got updated.

@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants