<div dir="ltr"><div class="markdown-here-wrapper" style=""><p style="margin:0px 0px 1.2em!important">Yes. In my last email, I sent you the log of the result of running with oauth debug logging enabled.</p>
<p style="margin:0px 0px 1.2em!important">/etc/dovecot/conf.d/10-logging.conf:</p>
<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline;white-space:pre;overflow:auto;border-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important">##
## Logging verbosity and debugging.
##
# Log filter is a space-separated list conditions. If any of the conditions
# match, the log filter matches (i.e. they're ORed together). Parenthesis
# are supported if multiple conditions need to be matched together.
# Supported conditions are:
# event:<name wildcard> - Match event name. '*' and '?' wildcards supported.
# source:<filename>[:<line number>] - Match source code filename [and line]
# field:<key>=<value wildcard> - Match field key to a value. Can be specified
# multiple times to match multiple keys.
# cat[egory]:<value> - Match a category. Can be specified multiple times to
# match multiple categories.
# For example: event:http_request_* (cat:error cat:storage)
# Filter to specify what debug logging to enable. This will eventually replace
# mail_debug and auth_debug settings.
log_debug=category=oauth2
</code></pre><hr>
<p style="margin:0px 0px 1.2em!important">〒163-6017 東京都新宿区西新宿6-8-1 住友不動産新宿オークタワー<br>株式会社 ジャストシステム 技術企画室 情報システムグループ 福田泰葵<br>e-mail: <a href="mailto:taiki.fukuda@justsystems.com">taiki.fukuda@justsystems.com</a><br>内線: 5158<br>TEL: 03-5324-7900<br>mobile: 080-6198-7328</p>
<hr>
<div title="MDH:PGRpdiBkaXI9Imx0ciI+WWVzLiBJbiBteSBsYXN0IGVtYWlsLCBJIHNlbnQgeW91IHRoZSBsb2cg
b2YgdGhlIHJlc3VsdCBvZiBydW5uaW5nIHdpdGggb2F1dGggZGVidWcgbG9nZ2luZyBlbm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LS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tPC9kaXY+PGRpdj7jgJIxNjMtNjAxNyDmnbHkuqzp
g73mlrDlrr/ljLropb/mlrDlrr82LTgtMSDkvY/lj4vkuI3li5XnlKPmlrDlrr/jgqrjg7zjgq/j
gr/jg6/jg7w8L2Rpdj48ZGl2PuagquW8j+S8muekviDjgrjjg6Pjgrnjg4jjgrfjgrnjg4bjg6Am
bmJzcDsg5oqA6KGT5LyB55S75a6kIOaDheWgseOCt+OCueODhuODoOOCsOODq+ODvOODlyZuYnNw
OyDnpo/nlLDms7DokbU8L2Rpdj48ZGl2PmUtbWFpbDogPGEgaHJlZj0ibWFpbHRvOnRhaWtpLmZ1
a3VkYUBqdXN0c3lzdGVtcy5jb20iIHRhcmdldD0iX2JsYW5rIj50YWlraS5mdWt1ZGFAanVzdHN5
c3RlbXMuY29tPC9hPjwvZGl2PjxkaXY+5YaF57eaOiA1MTU4PC9kaXY+PGRpdj5URUw6IDAzLTUz
MjQtNzkwMDwvZGl2PjxkaXY+bW9iaWxlOiAwODAtNjE5OC03MzI4PC9kaXY+PGRpdj48YnI+PC9k
aXY+PGRpdj4tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS08L2Rpdj48L2Rpdj48L2Rpdj48L2Rpdj48L2Rpdj48L2Rp
dj48L2Rpdj48L2Rpdj48L2Rpdj48L2Rpdj48L2Rpdj48L2Rpdj48YnI+" style="height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0"></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">2021年1月25日(月) 17:24 福田泰葵 <<a href="mailto:taiki.fukuda@justsystems.com">taiki.fukuda@justsystems.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Yes. In my last email, I sent you the log of the result of running with oauth debug logging enabled.</div><div dir="ltr"><br></div><div dir="ltr">/etc/dovecot/conf.d/10-logging.conf:</div><div dir="ltr"><br></div><div dir="ltr">```</div><div dir="ltr">```</div><div dir="ltr"><br></div><div dir="ltr"><br clear="all"><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>---------------------------------------------------------------------------------------------------------------------------------<br></div><div>〒163-6017 東京都新宿区西新宿6-8-1 住友不動産新宿オークタワー</div><div>株式会社 ジャストシステム 技術企画室 情報システムグループ 福田泰葵</div><div>e-mail: <a href="mailto:taiki.fukuda@justsystems.com" target="_blank">taiki.fukuda@justsystems.com</a></div><div>内線: 5158</div><div>TEL: 03-5324-7900</div><div>mobile: 080-6198-7328</div><div>---------------------------------------------------------------------------------------------------------------------------------</div></div></div></div></div></div></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">2021年1月25日(月) 17:16 Aki Tuomi <<a href="mailto:aki.tuomi@open-xchange.com" target="_blank">aki.tuomi@open-xchange.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
> On 25/01/2021 10:12 福田泰葵 <<a href="mailto:taiki.fukuda@justsystems.com" target="_blank">taiki.fukuda@justsystems.com</a>> wrote:<br>
> <br>
> <br>
> Dear Mr. Tuomi<br>
> Google is responding to me as Unauthorized.<br>
> So I need to send my credentials such as access token in the request parameter for authentication in google’s Get User API request.<br>
> But I don’t know how to configure dovecot to achieve that.<br>
> Could you please help me with this?<br>
> Best regards,<br>
> <br>
> ------------------------------<br>
> 〒163-6017 東京都新宿区西新宿6-8-1 住友不動産新宿オークタワー<br>
> 株式会社 ジャストシステム 技術企画室 情報システムグループ 福田泰葵<br>
> e-mail: <a href="mailto:taiki.fukuda@justsystems.com" target="_blank">taiki.fukuda@justsystems.com</a><br>
> 内線: 5158<br>
> TEL: 03-5324-7900<br>
> <br>
> mobile: 080-6198-7328<br>
<br>
<br>
Did you try the debugging things I mentioned? Your logs do not indicate that you did.<br>
<br>
So, <br>
<br>
- Try turning on rawlogs for the oauth2 requests and see what google is sending you?<br>
- You can also try log_debug=category=oauth2 (2.3.13) to get more debug logs from oauth2.<br>
<br>
Aki<br>
</blockquote></div></div>
</blockquote></div>