1
0
mirror of https://git.ngram.ca/OpenJam/rc-servers synced 2026-08-23 23:08:52 +00:00
Files
ojrc/rc_auth/src/oauth/jwks.rs
2026-07-05 20:38:17 +00:00

10 lines
263 B
Rust

use actix_web::{get, web::Json};
use openidconnect::core::{CoreJsonWebKeySet, /*CoreJsonWebKey*/};
#[get("/authenticate/oauth2/jwks")]
pub async fn get_oauth_jwks() -> Json<CoreJsonWebKeySet> {
Json(CoreJsonWebKeySet::new(vec![
// TODO ???
]))
}