https://github.com/hivecom/hiveid
Accounts as a service
https://github.com/hivecom/hiveid
Last synced: about 1 year ago
JSON representation
Accounts as a service
- Host: GitHub
- URL: https://github.com/hivecom/hiveid
- Owner: hivecom
- Created: 2022-08-09T23:10:40.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-05-09T06:27:31.000Z (about 3 years ago)
- Last Synced: 2025-05-19T02:11:22.975Z (about 1 year ago)
- Language: Rust
- Homepage:
- Size: 725 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# id
A bunch of projects for managing the identity with Hivecom services.
## idbin
The identity provider for Hivecom services. Hivecom services will redirect to
this in order to let the user authenticate themselves.
The authentication flow looks something like this:
```mermaid
sequenceDiagram
actor A as Alice
participant S as Service
participant I as idbin
A->>S: GET /protected-resource
note right of A: Without a JWT cookie.
S->>A: 302 https://idbin/login?service=Service
A->>I: GET /login?service=Service
I->>A: 302 https://idbin/login?service=Service
note right of A: Contains a JWT cookie.
A->>S: GET /protected-resource
S->>A: 200 OK
```
## idlib
A Rust library for the axum web framework for dealing with authentication and
authorization of endpoints.