mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
Implement federated login; #123
This commit is contained in:
9
rc_auth/src/oauth/jwks.rs
Normal file
9
rc_auth/src/oauth/jwks.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
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 ???
|
||||
]))
|
||||
}
|
||||
Reference in New Issue
Block a user