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

Can't create a new account on the BCO Portal. #321

Closed
seankim658 opened this issue Feb 27, 2024 · 1 comment
Closed

Can't create a new account on the BCO Portal. #321

seankim658 opened this issue Feb 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@seankim658
Copy link
Member

seankim658 commented Feb 27, 2024

Got some different error codes when trying to create a regular username/password account on the BCO portal.

First Attempt:

  • Tried to create with the same email ([email protected])
  • Username: skim
  • Return code: 400 (Bad Request)
    • Return response: {"username":["A user with that username already exists."]}

Second Attempt:

  • Since the return error was regarding the username and not the email, tried with a new username (skim_new) and the same email ([email protected])
  • Return code: 409 (Conflict)
    • The response was an empty json object: {}

Third Attempt:

  • This time tried changing the email ([email protected])
  • Kept the changed username (skim_new)
  • Return code: 409 (conflict)
    • The response was an empty json object {}

Fourth Attempt:

  • I reset cache and cookies and tried again in case anything was getting stuck on repeated attempts without reloading the page
  • Kept the [email protected] email
  • Kept the new username (skim_new)
  • Return code: 409 (conflict)
    • The response was an empty json object {}

Fifth Attempt:

  • Tried a complete reset, reset the cache and cookies and reloaded the page plus changed the email ([email protected]) AND username (skimnew)
  • Return code: 500 (Internal Server Error)
    • The response was a full html error traceback with the title IntegrityError at /api/auth/register/

Edit: I also tried one more time in a different browser (MS Edge) and used a new email and username combination and that also resulted in a 409 return code.

HadleyKing added a commit that referenced this issue Apr 25, 2024
Fix #336 #321 #297
    Changes to be committed:
	modified:   src/services/auth.service.js
@seankim658 seankim658 added the bug Something isn't working label May 13, 2024
@seankim658
Copy link
Member Author

Confirmed this is still an issue. Trying to create a regular email/password account still fails with status code 409.

HadleyKing added a commit that referenced this issue May 20, 2024
* New documentation files
Changes to be committed:
	modified:   README.md
	new file:   docs/faq.md
	modified:   docs/troubleshooting.md

* Update .secrets and settings.py for Email settings
On branch forgot_password
Changes to be committed:
	modified:   server/.secrets.example
	modified:   server/portaluserdb/settings.py

* Update portalusersdb to config

Changed the file name for the main application to `confg`
Changes to be committed:
	renamed:    server/portaluserdb/__init__.py -> server/config/__init__.py
	renamed:    server/portaluserdb/asgi.py -> server/config/asgi.py
	renamed:    server/portaluserdb/fixtures/local_data.json -> server/config/fixtures/local_data.json
	renamed:    server/portaluserdb/fixtures/test_portal.json -> server/config/fixtures/test_portal.json
	new file:   server/config/settings.py
	renamed:    server/portaluserdb/urls.py -> server/config/urls.py
	renamed:    server/portaluserdb/wsgi.py -> server/config/wsgi.py
	modified:   server/manage.py
	modified:   server/portaluserdb/settings.py

* Added functions to fix saving a temp draft

Changes to be committed:
	modified:   client/src/components/builder/components.js
	modified:   client/src/components/builder/index.js
	modified:   client/src/layouts/objectSideBar.js
	modified:   client/src/services/bco.service.js
	modified:   client/src/slices/bcoSlice.js

* Fix for get_published_bco

needed to modify how a published BCO is read
Changes to be committed:
	modified:   client/src/slices/bcoSlice.js
	modified:   server/users/apis.py

* Remove generate ETag functionality from Portal
Changes to be committed:
	modified:   client/src/components/builder/index.js
	modified:   client/src/slices/bcoSlice.js

* Update Prefix functions for new APIs
Changes to be committed:
	modified:   client/src/services/prefix.service.js
	modified:   client/src/slices/prefixSlice.js

* Update to search page and results.
Changes to be committed:
	modified:   client/src/components/bcodbs/SearchOptions.js
	modified:   client/src/components/bcodbs/SearchResults.js
	modified:   client/src/slices/searchSlice.js

* Update local data prefixes
Changes to be committed:
	modified:   server/config/fixtures/local_data.json

* Modifications to Prefix Registry:

support new Prefix Model
Changes to be committed:
	modified:   client/package-lock.json
	modified:   client/package.json
	modified:   client/src/App.css
	new file:   client/src/components/prefix/PrefixModify.js
	deleted:    client/src/components/prefix/PrefixResults.js
	modified:   client/src/components/prefix/PrefixSearch.js
	modified:   client/src/components/prefix/index.js
	modified:   client/src/components/prefix/prefixRegister.js
	modified:   client/src/routes.js
	modified:   client/src/services/prefix.service.js
	modified:   client/src/slices/prefixSlice.js

* Change Public to a checkbox

Changes to be committed:
	modified:   src/components/account/Profile.js

* Prefix Registry UI changes

Dialogue box for prefix modify and add user permissions
Changes to be committed:
	modified:   client/src/components/NotificationBox.js
	modified:   client/src/components/prefix/PrefixModify.js
	modified:   client/src/components/prefix/PrefixSearch.js
	modified:   client/src/components/prefix/index.js
	modified:   client/src/services/prefix.service.js
	modified:   client/src/slices/prefixSlice.js

* Update Prefix model

Added a `Public` and `public_hostname` to model

Changes to be committed:
	modified:   server/.secrets.example
	modified:   server/config/fixtures/local_data.json
	new file:   server/prefix/migrations/0002_prefix_public_prefix_public_hostname.py
	modified:   server/prefix/models.py
	modified:   server/prefix/selectors.py

* Prefix Modify Dialog Box
Changes to be committed:
	modified:   client/src/components/prefix/PrefixModify.js
	modified:   client/src/services/prefix.service.js
	modified:   client/src/slices/prefixSlice.js

* Prefix Modify Box Part II
Changes to be committed:
	modified:   client/src/components/prefix/PrefixModify.js
	modified:   client/src/services/prefix.service.js
	modified:   client/src/slices/prefixSlice.js

* UI fixes

- Commit 6fc3b4c
- Fix colors on NavBar for links
Changes to be committed:
	modified:   client/src/App.css
	modified:   client/src/components/quickSearch.js
	modified:   client/src/components/resources/Citations.js
	modified:   client/src/components/resources/Galaxy.js
	modified:   client/src/components/resources/Hive.js
	modified:   client/src/layouts/MainNavBar.js

* Message handeling for Prefix registry
Changes to be committed:
	modified:   client/src/components/prefix/PrefixModify.js
	modified:   client/src/slices/prefixSlice.js

* PRefix registry sync with User DB

Changes to be committed:
	modified:   client/src/components/prefix/PrefixModify.js
	modified:   client/src/components/prefix/index.js
	modified:   client/src/components/prefix/prefixRegister.js
	modified:   client/src/services/prefix.service.js
	modified:   client/src/slices/prefixSlice.js

* Prefix db synch with registry UI

Changes to be committed:
	modified:   server/bcodb/apis.py
	modified:   server/prefix/apis.py
	modified:   server/prefix/services.py

* Fix create BCO response handeling
Changes to be committed:
	modified:   .gitignore
	modified:   client/src/slices/bcoSlice.js

* Add user search feature for Prefix Registry
Changes to be committed:
	modified:   client/src/components/builder/provenanceDomain.js
	modified:   client/src/components/prefix/PrefixModify.js
	new file:   client/src/components/prefix/UserSearch.js
	modified:   client/src/services/auth.service.js
	modified:   client/src/services/prefix.service.js
	modified:   client/src/slices/prefixSlice.js
	modified:   client/src/slices/searchSlice.js

* Move UserSearch content to PrefixModify

Changes to be committed:
	modified:   client/src/components/prefix/PrefixModify.js
	deleted:    client/src/components/prefix/UserSearch.js

* Fix for Google OAuth CSRF Token issue

Fix #336 #321 #297
    Changes to be committed:
	modified:   src/services/auth.service.js

* Adjust registry variables for rendering
Changes to be committed:
	modified:   client/src/components/prefix/index.js
	modified:   client/src/components/prefix/prefixRegister.js

* Fix for Annon search (no login)
Changes to be committed:
	modified:   client/src/components/bcodbs/SearchOptions.js
	modified:   client/src/services/auth.service.js

* BCO validation fix

Changes to be committed:
	modified:   client/src/slices/bcoSlice.js
	modified:   server/users/apis.py

* Update validate function submission

Changes to be committed:
	modified:   client/src/components/account/Profile.js
	modified:   client/src/components/auth/Login.js
	modified:   client/src/services/bco.service.js
	modified:   server/config/settings.py

* Update to "Add BCODB"

Changes to be committed:
	modified:   server/authentication/services.py
	modified:   server/bcodb/apis.py
	new file:   server/bcodb/migrations/0008_remove_bcodb_group_permissions.py
	modified:   server/bcodb/models.py

* Update testing data fixtures
Changes to be committed:
	modified:   server/config/fixtures/local_data.json
	modified:   server/config/fixtures/test_portal.json

* Change public host name in test data
Changes to be committed:
	modified:   server/config/fixtures/test_portal.json

* Fixes for Publish BCO rerouting.

Changes to be committed:
	deleted:    client/src/components/builder/indexOld.js
	modified:   client/src/components/builder/provenanceDomain.js
	modified:   client/src/components/viewer/index.js
	modified:   client/src/layouts/objectSideBar.js
	modified:   client/src/slices/bcoSlice.js

* Hide Groups button
Changes to be committed:
	modified:   client/src/components/account/Servers.js

* Fixes for login
Changes to be committed:
	modified:   client/.env.example
	modified:   client/src/components/bcodbs/SearchOptions.js
	modified:   server/bcodb/services.py
	modified:   server/tests/fixtures/testing_data.json
	modified:   server/users/apis.py

* Published BCO Rendering

Changes to be committed:
	modified:   client/src/components/viewer/cardViews.js
	modified:   client/src/components/viewer/index.js
	modified:   server/bcodb/services.py

* Ui fixes

Changes to be committed:
	modified:   client/src/App.css
	new file:   client/src/components/About.js
	new file:   client/src/components/FullWidthBox.js
	new file:   client/src/components/Home.js
	new file:   client/src/components/Resources.js
	new file:   client/src/components/ThirdBox.js
	deleted:    client/src/components/about/About.js
	deleted:    client/src/components/about/BCOnexus.js
	deleted:    client/src/components/about/HorizontalHeading.js
	deleted:    client/src/components/about/MeetOurTeam.js
	deleted:    client/src/components/about/MemberInfo.js
	deleted:    client/src/components/about/MemberInfoCard.js
	deleted:    client/src/components/about/OurTeam.js
	deleted:    client/src/components/about/Overview.js
	deleted:    client/src/components/about/SB.js
	deleted:    client/src/components/about/Story.js
	deleted:    client/src/components/about/head.js
	deleted:    client/src/components/about/index.js
	deleted:    client/src/components/home/BcoDb.js
	deleted:    client/src/components/home/BioComputeResources.js
	deleted:    client/src/components/home/Builder.js
	deleted:    client/src/components/home/Documentation.js
	deleted:    client/src/components/home/FdaBox.js
	deleted:    client/src/components/home/Galaxy.js
	deleted:    client/src/components/home/Hive.js
	deleted:    client/src/components/home/Intro.js
	deleted:    client/src/components/home/Specification.js
	deleted:    client/src/components/home/Tsc.js
	deleted:    client/src/components/home/Workshop.js
	deleted:    client/src/components/home/index.js
	deleted:    client/src/components/resources/index.js
	modified:   client/src/routes.js

* UI Cleanup
Changes to be committed:
	modified:   client/src/App.css
	modified:   client/src/components/About.js
	modified:   client/src/components/FullWidthBox.js
	modified:   client/src/components/Home.js
	modified:   client/src/components/Resources.js
	modified:   client/src/components/ThirdBox.js
	modified:   client/src/components/account/Profile.js
	modified:   client/src/components/account/Servers.js
	modified:   client/src/components/account/index.js
	modified:   client/src/components/account/passwordReset.js
	modified:   client/src/components/quickSearch.js
	new file:   client/src/images/cgc2.png
	modified:   client/src/routes.js

* Reimplement token reset for bcodb

Changes to be committed:
	modified:   client/src/components/account/Servers.js
	modified:   client/src/services/auth.service.js
	modified:   client/src/slices/accountSlice.js
	modified:   server/bcodb/apis.py
	modified:   server/bcodb/services.py
	modified:   server/bcodb/urls.py

* Revamp About, Home, and Resources pages
Changes to be committed:
	deleted:    client/src/components/account/bcodbGroups/dbInfo.js
	deleted:    client/src/components/account/bcodbGroups/editGroup.js
	deleted:    client/src/components/account/bcodbGroups/groups.js
	deleted:    client/src/components/account/bcodbGroups/index.js
	deleted:    client/src/components/account/bcodbGroups/permissions.js
	deleted:    client/src/components/resources/Builder.js
	deleted:    client/src/components/resources/CGC.js
	deleted:    client/src/components/resources/Citations.js
	deleted:    client/src/components/resources/DNAnexus.js
	deleted:    client/src/components/resources/Galaxy.js
	deleted:    client/src/components/resources/Hive.js
	deleted:    client/src/components/resources/Packages.js
	deleted:    client/src/components/resources/Tsc.js
	new file:   client/src/images/swagger.png
	renamed:    client/src/components/About.js -> client/src/pages/About.js
	renamed:    client/src/components/Home.js -> client/src/pages/Home.js
	renamed:    client/src/components/Resources.js -> client/src/pages/Resources.js
	modified:   client/src/routes.js

* Update MUI

Changes to be committed:
	modified:   client/src/components/auth/Login.js
	modified:   client/src/components/auth/PasswordReset.js
	modified:   client/src/components/auth/Register.js
	modified:   client/src/components/bcodbs/SearchOptions.js
	modified:   client/src/components/bcodbs/index.js
	modified:   client/src/components/builder/components.js
	modified:   client/src/components/builder/contibutor.js
	modified:   client/src/components/builder/descriptionDomain.js
	modified:   client/src/components/builder/errorDomain.js
	modified:   client/src/components/builder/executionDomain.js
	modified:   client/src/components/builder/extensionDomain.js
	modified:   client/src/components/builder/index.js
	modified:   client/src/components/builder/ioDomain.js
	modified:   client/src/components/builder/parametricDomain.js
	modified:   client/src/components/builder/preview.js
	modified:   client/src/components/builder/provenanceDomain.js
	modified:   client/src/components/builder/rawJson.js
	modified:   client/src/components/builder/reviewer.js
	modified:   client/src/components/builder/specialFeilds.js
	modified:   client/src/components/builder/treeView.js
	modified:   client/src/components/builder/usabilityDomain.js
	modified:   client/src/components/prefix/PrefixSearch.js
	modified:   client/src/components/prefix/index.js
	modified:   client/src/components/viewer/cardViews.js
	modified:   client/src/components/viewer/index.js
	modified:   client/src/layouts/ObjectNavBar.js
	modified:   client/src/layouts/objectSideBar.js
	modified:   client/src/layouts/shared/AppDropDown.js
	modified:   client/src/layouts/shared/DocDropDown.js
	modified:   client/src/layouts/shared/HelpDropDown.js
	modified:   client/src/layouts/shared/ToolsDropDown.js

* update profile

* Fix Builder display
Changes to be committed:
	modified:   client/src/components/builder/index.js

* Changes to accomidate BCO Score

Changes to be committed:
	modified:   client/src/components/builder/executionDomain.js
	modified:   client/src/components/builder/index.js
	modified:   client/src/components/viewer/cardViews.js
	modified:   client/src/layouts/shared/ToolsDropDown.js
	modified:   client/src/pages/Bcodbs.js
	modified:   client/src/slices/bcoSlice.js

* Align left for citations
Changes to be committed:
	modified:   client/src/App.css

* Fixes for Publishing and validating

Changes to be committed:
	modified:   client/src/components/builder/executionDomain.js
	modified:   client/src/layouts/objectSideBar.js
	modified:   client/src/slices/bcoSlice.js

* Add funding sources to about pages

Changes to be committed:
	modified:   client/src/App.css
	modified:   client/src/pages/About.js

* Add loading components
Changes to be committed:
	modified:   client/src/components/builder/index.js
	modified:   client/src/components/viewer/index.js
	new file:   client/src/images/biocomputing.gif

* Add loading card for BCOs

Changes to be committed:
	modified:   client/src/components/builder/components.js
	modified:   client/src/components/builder/errorDomain.js
	modified:   client/src/components/builder/index.js
	modified:   client/src/components/builder/rawJson.js
	modified:   client/src/slices/bcoSlice.js

* Add loading to bcodb page

also fixed Execution Domain formatting
Changes to be committed:
	modified:   client/src/components/builder/executionDomain.js
	modified:   client/src/pages/Bcodbs.js

* Update quickSearch for loading function

Changes to be committed:
	modified:   client/src/components/quickSearch.js

* Login Notice
Changes to be committed:
	modified:   client/package-lock.json
	modified:   client/package.json
	modified:   client/src/components/account/index.js
	modified:   client/src/components/auth/Login.js
	modified:   client/src/components/auth/PasswordReset.js
	modified:   client/src/components/auth/Register.js
	modified:   client/src/components/builder/index.js
	modified:   client/src/components/prefix/index.js
	modified:   client/src/components/quickSearch.js
	modified:   client/src/components/viewer/index.js
	modified:   client/src/layouts/MainLayout.js
	modified:   client/src/layouts/MainNavBar.js
	modified:   client/src/layouts/ObjectNavBar.js
	modified:   client/src/layouts/ObjectViewLayout.js
	modified:   client/src/pages/Bcodbs.js
	modified:   client/src/routes.js
	modified:   client/src/slices/accountSlice.js
	modified:   client/src/slices/searchSlice.js

* Expired JWT implemented
Changes to be committed:
	modified:   client/package-lock.json
	modified:   client/package.json
	modified:   client/src/App.js
	modified:   client/src/components/quickSearch.js
	modified:   client/src/pages/Bcodbs.js
	modified:   client/src/routes.js
	modified:   client/src/slices/accountSlice.js
	modified:   client/src/slices/searchSlice.js

* Revert "Prod push" (#355)
@tiwa1154 tiwa1154 closed this as completed Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants