Skip to content

Commit

Permalink
feat: with axum feature
Browse files Browse the repository at this point in the history
Signed-off-by: kjuulh <[email protected]>
  • Loading branch information
kjuulh committed Jan 9, 2024
1 parent 04eda63 commit bbb5a46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/axum_webapi_oauth_interception_basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ use axum::Router;
use tokio::net::TcpListener;
use zitadel::axum::introspection::{IntrospectedUser, IntrospectionStateBuilder};

// Run example with cargo run --example <file name> -F axum to activate the axum feature

async fn unauthed() -> String {
"Hello Unauthorized User".into()
}
Expand Down

0 comments on commit bbb5a46

Please sign in to comment.