Add ENS domain information

This commit is contained in:
Simon Bihel
2022-01-25 16:29:02 +00:00
parent 452bd2d9fb
commit b34027b096
9 changed files with 447 additions and 43 deletions

View File

@@ -108,6 +108,7 @@ async fn token(
private_key,
config.base_url,
config.require_secret,
config.eth_provider,
&redis_client,
)
.await?;
@@ -272,6 +273,7 @@ async fn userinfo(
};
let claims = oidc::userinfo(
config.base_url,
config.eth_provider,
private_key,
bearer.map(|b| b.0 .0),
payload,