go-pkgz / auth

Authenticator via oauth2, direct, email and telegram
https://go-pkgz.umputun.dev/auth/
MIT License
1.07k stars 84 forks source link

check if user's provider is in the list of current providers #176

Closed umputun closed 1 year ago

umputun commented 1 year ago

In case the token (via cookie or header) was made with the provider, what is not enabled anymore, reject this token right away

This should address https://github.com/umputun/remark42/issues/1660

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 5919856966


Totals Coverage Status
Change from base Build 5844164511: 0.07%
Covered Lines: 2553
Relevant Lines: 3060

💛 - Coveralls