avhost/go-imap-oauth2

By avhost

Updated 5 months ago

oauth service that use imap as authentication backend

Image
Security
Languages & frameworks
Integration & delivery
0

100K+

avhost/go-imap-oauth2 repository overview

go-imap-oauth2

This is a oauth2 provider that use a imap server as authentication backend. To use it is quite easy!

go run server.go  \
  --imapserver imap.gmail.com \
  --imapport 143 \
  --imapdomain gmail.com \
  --clientdomain  https://myownerver.com \
  --clientid <a long random number or hash> \
  --clientsecret <a very long hash>

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.

Tag summary

Content type

Image

Digest

sha256:733b980a7

Size

9.6 MB

Last updated

5 months ago

docker pull avhost/go-imap-oauth2