You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be cool if other apps could show a 'Login with Stacker News' button via OAuth 2.0.
When this button is clicked, users are redirected to Stacker News for authentication purposes and are shown which information will be shared with the other app. An app could also request to share access to the send+receive wallets a user has attached to their Stacker News account.
However, we need to make sure that we don't hand wallet credentials out in a way we can't reverse, especially for paying invoices.
This means that instead of directly giving external apps the sensitive wallet credentials, we probably would need to provide an API endpoint that they would use with an access token to create or pay invoices using the SN wallets of a user.
But since the actual call to the wallet always happens on the client device for spending, this API endpoint would then need to forward the invoice the app wants to have paid to the client device in some way while SN is not running in the foreground. This might be tricky but maybe service workers can help here?
@miketwenty1 has requested this for a game he's building and volunteered to be the first to implement it as an external app once we support this OAuth flow.
This discussion was converted from issue #2119 on June 08, 2026 22:07.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem you're trying to solve
It would be cool if other apps could show a 'Login with Stacker News' button via OAuth 2.0.
When this button is clicked, users are redirected to Stacker News for authentication purposes and are shown which information will be shared with the other app. An app could also request to share access to the send+receive wallets a user has attached to their Stacker News account.
However, we need to make sure that we don't hand wallet credentials out in a way we can't reverse, especially for paying invoices.
This means that instead of directly giving external apps the sensitive wallet credentials, we probably would need to provide an API endpoint that they would use with an access token to create or pay invoices using the SN wallets of a user.
But since the actual call to the wallet always happens on the client device for spending, this API endpoint would then need to forward the invoice the app wants to have paid to the client device in some way while SN is not running in the foreground. This might be tricky but maybe service workers can help here?
@miketwenty1 has requested this for a game he's building and volunteered to be the first to implement it as an external app once we support this OAuth flow.
References:
Describe the solution you'd like
Describe alternatives you've considered
No response
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions