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

Connect to GraphSpace using only auth token #29

Open
JingVT opened this issue Dec 1, 2018 · 0 comments
Open

Connect to GraphSpace using only auth token #29

JingVT opened this issue Dec 1, 2018 · 0 comments

Comments

@JingVT
Copy link
Contributor

JingVT commented Dec 1, 2018

This pull has solved connection to graphspace using auth_token. But it requires user's email address as well. We want user can connect to graphspace using only auth_token. We can use base64.b64decode(auth_token) to get "username:password" where username and password are splitted by ':', so we can get username from it.
Something need to consider:

  1. We assume all emails are valid email. Because we assume this confirm email pull has been merged.
  2. Does username, i.e. email, include ' : ' ?
  3. If username includes ':', then we need to find a new character not allowed in email to replace ':'. One option is '@'.
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

No branches or pull requests

1 participant