HACK13 on Nostr: npub19lt42…6qfjk the big issue I see with this, is that Mastodon OAuth doesn’t ...
npub19lt4284mghqxekzm6n5njxurnxrxhqhrva2leusdsuu5ja5jeycq66qfjk (npub19lt…qfjk) the big issue I see with this, is that Mastodon OAuth doesn’t return the user’s email address. The only way for that to be returned is with an administrator bearer’s token which means an Administrator would have to give the token. The alternative would be to request it to also ask you to put in your email during registration.
For my own SSO to other services I run I had to write my own middleware to pass it through to get the email address as most OAuth typically requires an email to be passed for more applications.
Published at
2023-05-31 09:15:28Event JSON
{
"id": "49821346c4ce55568566110626deed382d9d01fa4173f298f99d6e2fda6d7859",
"pubkey": "32ce2e56c277f6b95af11e2ae447c538ed858978bc8b8471162b9470442c0a1b",
"created_at": 1685524528,
"kind": 1,
"tags": [
[
"p",
"2fd7551ebb45c06cd85bd4e9391b8399866b82e36755fcf20d8739497692c930",
"wss://relay.mostr.pub"
],
[
"p",
"fddf487eea9db57a6e320f80e5cb63de50bedf539695a41c0d447be6c23643e1",
"wss://relay.mostr.pub"
],
[
"e",
"6a766da483923c7ea5d76b3ed03d358cf993b808b1f2028d687c04044f7defad",
"wss://relay.mostr.pub",
"reply"
],
[
"mostr",
"https://cyberfurz.social/users/hack13/statuses/110462535508114543"
]
],
"content": "nostr:npub19lt4284mghqxekzm6n5njxurnxrxhqhrva2leusdsuu5ja5jeycq66qfjk the big issue I see with this, is that Mastodon OAuth doesn’t return the user’s email address. The only way for that to be returned is with an administrator bearer’s token which means an Administrator would have to give the token. The alternative would be to request it to also ask you to put in your email during registration.\n\nFor my own SSO to other services I run I had to write my own middleware to pass it through to get the email address as most OAuth typically requires an email to be passed for more applications.",
"sig": "3ae64eab7156b685ab030e26a8129ca41706a7bd279faa20d7d3d615fc0ea7eefed42522621c1c03d61481476c315da30c87cfc314960b6972188c226f3bf60d"
}