How to make integration from Company Intranet Website with Wix site?

Hello @givemeawhisky

I already try and explore http-function, this is my code in http-functions.js file

import wixUsers from 'wix-users-backend';
import { ok, badRequest } from 'wix-http-functions';

export function get_signin(request) {
 const response = {
 "headers": {
 "Content-Type": "application/json"
    }
  };

 const username = request.path[0];
 const password = request.path[1];
 let result = myBackendFunction(username, password);

  response.body = {
 "Result ": + result 
  };

 return ok(response);
}

I try to call my function with this url : https://www.ciputralearningcenter.com/_functions/signin/user@gmail.com/hello

And I get this result

{"Post Data ":{"isFulfilled":false,"isRejected":false}}

Can i make automaticly login in http-function.js file and after login success i want to redirect to HOME ?
Or do you have any other alternative collection ?

Thanks A Lot @givemeawhisky, i will try the other link you give ?