mirror of
https://github.com/pfzetto/axum-oidc.git
synced 2024-11-23 12:02:49 +01:00
replace outdated test credentials with placeholder
This commit is contained in:
parent
84bd595ea1
commit
a522b7936d
1 changed files with 4 additions and 4 deletions
|
@ -31,10 +31,10 @@ async fn main() {
|
||||||
}))
|
}))
|
||||||
.layer(
|
.layer(
|
||||||
OidcAuthLayer::<EmptyAdditionalClaims>::discover_client(
|
OidcAuthLayer::<EmptyAdditionalClaims>::discover_client(
|
||||||
Uri::from_static("http://localhost:8080"),
|
Uri::from_static("https://app.example.com"),
|
||||||
"https://auth.zettoit.eu/realms/zettoit".to_string(),
|
"https://auth.example.com/auth/realms/example".to_string(),
|
||||||
"oxicloud".to_string(),
|
"my-client".to_string(),
|
||||||
Some("IvBcDOfp9WBfGNmwIbiv67bxCwuQUGbl".to_owned()),
|
Some("123456".to_owned()),
|
||||||
vec![],
|
vec![],
|
||||||
)
|
)
|
||||||
.await
|
.await
|
||||||
|
|
Loading…
Reference in a new issue