Skip to content

A proxy server to sign in using Universitas Indonesia's SSO credentials via API call

Notifications You must be signed in to change notification settings

ristekoss/sso-proxy

Repository files navigation

SSO Proxy

Proxy for SSO UI to use REST API call.

This project is meant to run on Google Cloud Function, but you can run it manually with make run on linux. On windows you need to export variable FUNCTION_TARGET = Proxy.

to use this, send a post request with username and password in JSON format

{
  "username": "username",
  "password": "password"
}

The API call can take up to 4 seconds. This is purely because the default implementation use dev server that is slow. If you have access to production serviceUrl cas, you can add that to the request.

{
  "username": "username",
  "password": "password",
  "casUrl": "https://sso.ui.ac.id/cas/",
  "serviceUrl": "http://localhost:8080/"
}

note that casUrl need defined protocol and ended with backslash.

About

A proxy server to sign in using Universitas Indonesia's SSO credentials via API call

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages