WordPress multi-language site (As SSO Provider) with use locale Discourse instances

Hi Simon,

I’m able to find the filter for adding sso params, is this the right one to add? we want to use web page language as locale

add_filter( 'wpdc_sso_params', 'wpdc_custom_sso_params' );
function wpdc_custom_sso_params( $params) {
    $params['locale'] = get_locale(); // what ever language
    return $params;
}

Also I didn’t find filter to force login user to particular discourse url, please point me to right filter.

Thank you.

Regards,
Umashankar