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

Add username choice for sign buffer requests #92

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

eonwarped
Copy link
Contributor

This will allow for websites to allow users to select the user from a dropdown instead of specifying the user ahead of time.

image

The response's data field will have the chosen username.

Example page is hosted https://eonwarped.github.io/steem/sk/main.html as well.

@eonwarped
Copy link
Contributor Author

Now that I did this, I realize that I would prefer to do something more generic:

Just something like "requestUser"

  1. User selects user from dropdown
  2. Username gets returned with available auths.

@eonwarped
Copy link
Contributor Author

For now, just want to simplify the scope to just sign buffer. It will then be used as the source for getting an account and then requesting any extra steps afterwards.

Changed behavior so that there is no 'enforce username' toggle. Instead, the API is such that it will only 'enforce' if the username is provided. Otherwise it will show a dropdown.

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

1 participant