Syncgateway user creation with user channel

Hi team,
we have a requirement to create a sync-gw user when valid OIDC token passed and assign a correspoding user channel when it is created. Is this possible?

I know creation of user is possible with below property, how can we create user channel.

databases.this_db.oidc.providers.this_provider.register

Thanks.

As of version 3.1.x this is available in oidc.providers.{providername‚Ķ‚Äč}.channels_claim

Great. Is there way in 2.8?