Grist with MS AD FS

HI!

My Grist is running in Docker.
Could you share an example of configuring Grist with MS AD FS?
Has anyone had similar experience?

Here is my dex.yaml example

staticClients:
- id: 'Hco.....'
  redirectURIs:
  - 'https://grist.example.com/dex/callback'
  - 'https://grist.example.com/_oauth' 
  name: 'Grist'
  secret: 'dBf.....'

oauth2:
  skipApprovalScreen: true

connectors:
 - type: oidc
   id: adfs
   name: ADFS
   config:
     issuer: "https://adfs.example.com/adfs"
     clientID: "6bf....."
     clientSecret: "4B8..//."
     redirectURI: 'https://grist.example.com/dex/callback'
     scopes:
       - email
     claimMapping:
       email: "email"
       preferred_username: "upn"
       name: "displayname"