Skip to content

🧬 Small OAuth crate that follows the sans-io approach 🦀

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

EmbarkStudios/tame-oidc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

🧬 tame-oidc

tame-oidc is a small OpenID Connect crate that follows the sans-io approach.

Embark Embark Crates.io Docs dependency status Build status

Supported RFCs:

Why?

  • You want to control how you actually make OIDC HTTP requests

Why not?

  • The only auth flow that is currently implemented are the flows we are using internally. Other flows can be added, but right now that is the only one we need.
  • This crate requires more boilerplate to use.

Usage

See example code in examples/embark.rs

Examples

Usage: cargo run --example embark-basic

A small example of using tame-oidc together with reqwest using the basic auth flow.

Usage: cargo run --example embark-pkce

A small example of using tame-oidc together with reqwest using the PKCE auth flow.

Contributing

Contributor Covenant

We welcome community contributions to this project.

Please read our Contributor Guide for more information on how to get started.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

🧬 Small OAuth crate that follows the sans-io approach 🦀

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages