]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
auth: db-oauth2 - Change active:false to mean invalid token
authorAki Tuomi <aki.tuomi@open-xchange.com>
Thu, 22 Oct 2020 08:42:23 +0000 (11:42 +0300)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Tue, 3 Nov 2020 18:29:52 +0000 (20:29 +0200)
commitfd8ae5027a03f64c14c0cf47c511cdb3137e4e42
tree71798c1d46dffb9ef602e97fe344077b1a82e3f1
parentbec575990c37254724a9c6ea8f0e8e3e74d87dac
auth: db-oauth2 - Change active:false to mean invalid token

Specifications say that invalid token, expired token and any other
reason why the token can be considered invalid should return
{"active":false} reply with no other fields.

Thus, we need to consider this as invalid token.
src/auth/db-oauth2.c