Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aventer-ug/go-imap-oauth2
https://github.com/aventer-ug/go-imap-oauth2
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/aventer-ug/go-imap-oauth2
- Owner: AVENTER-UG
- License: apache-2.0
- Created: 2022-08-13T14:58:05.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-08-13T23:12:58.000Z (over 2 years ago)
- Last Synced: 2024-06-21T16:56:41.252Z (7 months ago)
- Language: Go
- Size: 533 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-imap-oauth2
This is a oauth2 provider that use a imap server as authentication backend. To use it is quite easy!
```bash
go run server.go \
--imapserver imap.gmail.com \
--imapport 143 \
--imapdomain gmail.com \
--clientdomain https://myownerver.com \
--clientid \
--clientsecret
```To configure your client you need two urls.
1. The AuthURL: "http://myownoauth2server.com:9096/authorize"
2. The TokenURL: "http://myownoauth2server.com:9096/token"The oauth2 Server need a valid SSL Zertificate. If you dont have, some clients can denied to work with it.