Skip to content

Added Gitea OAuth login and account management.#293

Merged
thebaer merged 6 commits into
writefreely:developfrom
gytisrepecka:oauth-gitea
Aug 13, 2020
Merged

Added Gitea OAuth login and account management.#293
thebaer merged 6 commits into
writefreely:developfrom
gytisrepecka:oauth-gitea

Conversation

@gytisrepecka
Copy link
Copy Markdown
Contributor

Added Gitea OAuth login and account management functionality based on Matt's guidelines.


  • I have signed the CLA

@thebaer thebaer added this to the 0.13 milestone Apr 15, 2020
Comment thread oauth_gitea.go Outdated
@cjeller1592
Copy link
Copy Markdown
Contributor

Got it working on my instance @gytisrepecka! Just had an issue during set up that I lay out in a comment. Otherwise works great from a user perspective!

@gytisrepecka
Copy link
Copy Markdown
Contributor Author

If possible, pull sources once again and try building:

go get -d -u -v code.gyt.is/writefreely
cd ~/go/src/code.gyt.is/writefreely
git checkout oauth-gitea

@cjeller1592
Copy link
Copy Markdown
Contributor

cjeller1592 commented Apr 20, 2020

If possible, pull sources once again and try building:

go get -d -u -v code.gyt.is/writefreely
cd ~/go/src/code.gyt.is/writefreely
git checkout oauth-gitea

Just did this & got Gitea OAuth login working on my instance with the added host in the config. Thanks for the additions @gytisrepecka!

@gytisrepecka
Copy link
Copy Markdown
Contributor Author

Merged current develop branch and resolved pages/login.tmpl conflict.

This version is running live on fedi.dev.

Copy link
Copy Markdown
Member

@thebaer thebaer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good! Just need to run go fmt on these Go files and we can get this merged.

@thebaer
Copy link
Copy Markdown
Member

thebaer commented Aug 12, 2020

Thanks for your patience on my review -- just some quick formatting needed and we can get this in.

@gytisrepecka
Copy link
Copy Markdown
Contributor Author

Performed formatting:

$ gofmt -w account.go
$ gofmt -w config/config.go
$ gofmt -w oauth.go
$ gofmt -w oauth_gitea.go
$ gofmt -w routes.go

Please take a look if there's something else.

Copy link
Copy Markdown
Member

@thebaer thebaer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks for your great work on this.

@thebaer thebaer merged commit b2382b5 into writefreely:develop Aug 13, 2020
@thebaer thebaer mentioned this pull request Aug 19, 2020
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants