Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aventer-ug/go-imap-oauth2


https://github.com/aventer-ug/go-imap-oauth2

Last synced: 24 days ago
JSON representation

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.