6 releases (3 breaking)

0.4.0 Aug 1, 2022
0.3.1 Jul 31, 2022
0.2.0 Jul 30, 2022
0.1.1 Jul 29, 2022

#596 in Authentication

MIT license

82KB
2K SLoC

rust-sso-ui-jwt

Rust library for JWT utilities from SSO UI

Universitas Indonesia (UI) uses a single sign on (SSO) mechanism for authentication and authorization of their services. The response body to a successful sign on is written in XML. It is generally a chore to reimplement the handling of entire SSO ticket validation and response body processing for students, committees, and organizations who'd like to use UI's SSO for student account authentication and authorization in their events.

That's why we decided to make this library. It parses the response data into a JSON format and we provide the SSO ticket validation mechanism as well as JWT utilities for the data.

Documentation

You can view the project's documentation in it's docs.rs website.

Usage

See the examples for reference on using this library.

Installation

Add this to your Cargo.toml file:

[dependencies]
sso-ui-jwt = "0.4"

Features

Enabling or disabling features can be done by configuring the library from Cargo.toml:

[dependencies.sso-ui-jwt]
version = "0.4"
features = ["log"]

As of right now, there are no default features implemented.

Full list of features:

  • log: Logs the messages within the library

Contributing

If you'd like to contribute to this project, please read our contributing guidelines before creating pull requsts.

Maintainers

This project is currently maintained by the following members of RISTEKOSS:

Dependencies

~9–22MB
~392K SLoC