@oneblink/apps-react
    Preparing search index...

    Function getUserProfile

    • Get current users profile based on there Id Token payload. This will return null if the the current user is not logged in.

      const profile = authService.getUserProfile()
      if (profile) {
      // Use profile here
      }

      Returns UserProfile | null