Unable to get function

const getAccessTokenSilently = () => {

    auth.checkSession(

        { audience: "https://quickstart/api" },

        function (err, result) {

            return result;

        }

    );

};

returns undefined

This indicates that you have failed to define some part of the function. I would guess the auth object, but there is so little information in this post that it is impossible to tell.

When asking a question here please take some time to thoroughly explain the context. Post full error codes with details, explain what you are doing, why you think it has happened, what you have already tried, etc.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.