tsk-50: Create Special endpoint for services to obtain a token #53
@@ -365,7 +365,8 @@ mod tests {
|
|||||||
icarus_auth::db::migrations(&pool).await;
|
icarus_auth::db::migrations(&pool).await;
|
||||||
|
|
||||||
let app = init::routes().await.layer(axum::Extension(pool));
|
let app = init::routes().await.layer(axum::Extension(pool));
|
||||||
let passphrase = String::from("iUOo1fxshf3y1tUGn1yU8l9raPApHCdinW0VdCHdRFEjqhR3Bf02aZzsKbLtaDFH");
|
let passphrase =
|
||||||
|
String::from("iUOo1fxshf3y1tUGn1yU8l9raPApHCdinW0VdCHdRFEjqhR3Bf02aZzsKbLtaDFH");
|
||||||
let payload = serde_json::json!({
|
let payload = serde_json::json!({
|
||||||
"passphrase": passphrase
|
"passphrase": passphrase
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user