Re: Dovecot ACLs and XOAUTH2

2022-08-24 Thread Felix Auringer
Hi, On 8/22/22 14:04, Aki Tuomi wrote: Currently the support is very limited. You can extract strings and numbers from a flat object. > You should be able to extract the whole access token like that, although I didn't say in my previous mail that the %{oauth2:} is valid only within the oauth2

Re: Dovecot ACLs and XOAUTH2

2022-08-22 Thread Aki Tuomi
> On 22/08/2022 14:32 EEST Felix Auringer wrote: > > > On 8/22/22 10:14, Aki Tuomi wrote: > > Hi! > > > > You need to export them in passdb. You can do > > `userdb_some_field=%{oauth2:some_field}`. > > That is exactly what I have been looking for, thank you! Is it also > possible to extra

Re: Dovecot ACLs and XOAUTH2

2022-08-22 Thread Felix Auringer
On 8/22/22 10:14, Aki Tuomi wrote: Hi! You need to export them in passdb. You can do `userdb_some_field=%{oauth2:some_field}`. That is exactly what I have been looking for, thank you! Is it also possible to extract arrays and objects from the token with this syntax? For example, I tried to

Re: Dovecot ACLs and XOAUTH2

2022-08-22 Thread Aki Tuomi
> On 22/08/2022 11:11 EEST Felix Auringer wrote: > > > Hi, > > I tried to configure / implement the suggestions - thanks for them @Aki! > > On 6/15/22 07:50, Aki Tuomi wrote: > > > >> On 14/06/2022 12:52 Felix Auringer wrote: > >> > >> > >> Hi, > >> > >> we're trying to set up an IMAP

Re: Dovecot ACLs and XOAUTH2

2022-08-22 Thread Felix Auringer
Hi, I tried to configure / implement the suggestions - thanks for them @Aki! On 6/15/22 07:50, Aki Tuomi wrote: On 14/06/2022 12:52 Felix Auringer wrote: Hi, we're trying to set up an IMAP server using Dovecot as part of a new email system in a middle-sized company (around 150 employee

Re: Dovecot ACLs and XOAUTH2

2022-06-14 Thread Aki Tuomi
> On 14/06/2022 12:52 Felix Auringer wrote: > > > Hi, > > we're trying to set up an IMAP server using Dovecot as part of a new > email system in a middle-sized company (around 150 employees). We have a > keycloak identity server that is used for all logins and we would also > like to use

Dovecot ACLs and XOAUTH2

2022-06-14 Thread Felix Auringer
Hi, we're trying to set up an IMAP server using Dovecot as part of a new email system in a middle-sized company (around 150 employees). We have a keycloak identity server that is used for all logins and we would also like to use it for the new email system so that the non-technical employees