Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAuth-like flow support #219

Merged
merged 2 commits into from Jan 2, 2024
Merged

OAuth-like flow support #219

merged 2 commits into from Jan 2, 2024

Conversation

pablof7z
Copy link
Contributor

@pablof7z pablof7z commented Jan 2, 2024

@staab this PR adds support for the oauth-like flow I demoed a few weeks ago. You can test it by creating a user on getfaaans.com or wuth the nsecbunker's client:

git clone https://github.com/kind0/nsecbunkerd
cd nsecbunkerd
pnpm install
pnpm build

Create account from CLI

pnpm client create_account SOME-USERNAME@nostr.me

Get a signature from the CLI

pnpm client sign SOME-USERNAME@nostr.me "hello world!" --debug

to trigger the auth URL flow when signing:

rm -rf ~/.nsecbunker-client-private.key
pnpm client sign SOME-USERNAME@nostr.me "hello world!" --debug

Video running this PR
https://cdn.satellite.earth/9457eb8a382f601e34a38a4ac04ab1e8d4eb06d43480e8e2ec67f8a7b58ada52.mp4

@staab staab merged commit c523c81 into coracle-social:master Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants