rstudio / fuzzbucket

a simplified means to CRUD ephemeral user-scoped EC2 instances
MIT License
7 stars 2 forks source link

github username case sensitivity is unclear #61

Closed AshleyHenry15 closed 3 years ago

AshleyHenry15 commented 3 years ago

I ran into a Fuzzbucket RStudio | Error NOPE='login' issue when I attempted to login/authenticate fuzzbucket with GitHub.

2021-01-08_12-31-22

Solution: When you enter your GitHub username, it is case sensitive. Therefore, ashleyhenry15 needs to be AshleyHenry15 in order for the authentication to work.

Steps to reproduce the error:

  1. Install fuzzbucket: pip install https://cdn.rstudio.com/connect/fuzzbucket/0.4.3/fuzzbucket_client-0.4.3-py3-none-any.whl
  2. Configuration of API URL: export FUZZBUCKET_URL=https://l231p3yeq6.execute-api.us-east-1.amazonaws.com/prod
  3. Ran the login command and replaced <github-username> with my username, all lowercase: fuzzbucket-client login <github-username>
  4. Browser window displayed an error page (screenshot of the page is shown above).
  5. I tried to:
    1. Clear my browser cache, history, cookies, etc.
    2. Tried to uninstall, reinstall, and reauthenticate with GH.
    3. Confirmed that I had GH SSH keys available.

The solution: @meatballhat cleared the records server-side, and I tried the process again, but this time I entered my username using the proper capitalization. So, instead of ashleyhenry15, I entered AshleyHenry15. Once I ran the login command and respected the GH capitalization, the Fuzzbucket RStudio | Auth Complete page displayed WITH the secret key available.

I copied the key, pasted it into the terminal, and my login was successful.