openid_examples/lib.rs
1/*!
2# openid-examples: collection of examples for openid crate
3
4By default all examples work with [Google OpenID Connect](https://developers.google.com/identity/protocols/oauth2/openid-connect).
5
6You need to define two environment variables `CLIENT_ID` and `CLIENT_SECRET`.
7
8If you want to try another OpenID provider - additionally define `ISSUER` environment variable.
9
10## Examples
11
12- [warp](https://github.com/kilork/openid-examples/blob/v0.8/examples/warp.rs)
13
14```bash
15export CLIENT_ID=<your google client id here>
16export CLIENT_SECRET=<your google client secret>
17cargo run --example=warp
18```
19
20*/
21
22pub const INDEX_HTML: &str = include_str!("index.html");
23
24pub mod entity;