Null refresh token on embedded login

I am using auth0js to login using embedded login in react. When I login it returns the null refresh token. I have used all the practices. I have attached the snippets below.
export const webAuth = new auth0.WebAuth({
domain: dev-o6b581fnmv7vlogy.us.auth0.com,
clientID: r1kA7Ik2cARETji8Z9jdHuFuu5E24i0Q,
scope: ‘openid profile email offline_access’,
audience: https://dev-o6b581fnmv7vlogy.us.auth0.com/,

});

webAuth.login({
realm: ‘Username-Password-Authentication’,
audience : “https://dev-o6b581fnmv7vlogy.us.auth0.com/api/v2/” ,

        email: credentials.email,
        password: credentials.password,
        responseType: `token id_token`,
        redirectUri: `${window.location.origin}/authenticate`,
    }, function (err: any , res: any) {
        setLoader(false)
        if (err) {
            console.log(err)
            setMessage({type : "error" , message : err.description})
            return;
        }
        
    });