Start to build userinfo endpoint
This commit is contained in:
@ -136,6 +136,8 @@ async fn main() -> std::io::Result<()> {
|
||||
.route(AUTHORIZE_URI, web::get().to(openid_controller::authorize))
|
||||
.route(TOKEN_URI, web::post().to(openid_controller::token))
|
||||
.route(CERT_URI, web::get().to(openid_controller::cert_uri))
|
||||
.route(USERINFO_URI, web::post().to(openid_controller::user_info_post))
|
||||
.route(USERINFO_URI, web::get().to(openid_controller::user_info_get))
|
||||
})
|
||||
.bind(listen_address)?
|
||||
.run()
|
||||
|
Reference in New Issue
Block a user