Skip to content

Instantly share code, notes, and snippets.

View sbihel's full-sized avatar
🦀

Simon Bihel sbihel

🦀
View GitHub Profile
@sbihel
sbihel / fetch-user-profile.js
Created February 8, 2022 12:56
Auth0 oauth2 userinfo script
function fetchUserProfile(accessToken, context, callback) {
request.get(
{
url: 'https://oidc.login.xyz/userinfo',
headers: {
'Authorization': 'Bearer ' + accessToken,
}
},
(err, resp, body) => {
if (err) {
{
"name": "Tezos Public Profiles",
"interfaces":["TZIP-023"],
"views":[
{
"implementations":[
{
"michelsonStorageView":{
"annotations":[ ],
"returnType":{
{
"name":"DID Manager",
"interfaces":[
"TZIP-19"
],
"views":[
{
"implementations":[
{
"michelsonStorageView":{

Keybase proof

I hereby claim:

  • I am sbihel on github.
  • I am sbihel (https://keybase.io/sbihel) on keybase.
  • I have a public key ASBJW9PJttgT3MYhjX3qbmPX8EsXoNWn5bDjhP1IdgNilQo

To claim this, I am signing this object: