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

Added login UI #3175

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

Added login UI #3175

wants to merge 4 commits into from

Conversation

Zentro
Copy link
Member

@Zentro Zentro commented Sep 3, 2024

This will add the ability to log into your Rigs of Rods account from inside the game. This replaces the "user token" system currently in place with something that requires much less hassle.

How to test:

  1. At the very top of the main screen, click "Login". Enter your forum credentials and if prompted test each two-factor option.
  2. Verify the top of the main screen shows your avatar and username
  3. Close the game, and reopen it. Verify that your user profile is loaded again from the main screen.
  4. Click "Log out", your account should be cleared and avatar cache cleared

What to look out for:

  1. If you have two-factor authentication, please make another account and/or disable two-factor to test logging in with and without two-factor.

Currently, the login dialog box works along with the additional two-factor steps.

  • Migrate our databases to DO managed databases services
  • Get the XF addon production ready
  • Push changes to carbon (the API), will be accessible from https://v2.api.rigsofrods.org/auth
  • Download user avatars into a cache
  • Logout and clear user avatar cache
  • Update RoR server to allow a 2 way key exchange for ranked users (gutting the user token system)

I've attached an older video for demonstration.

1.mp4

@ohlidalp
Copy link
Member

Code looks perfect from my perspective 👏

@Zentro
Copy link
Member Author

Zentro commented Nov 29, 2024

We have a working solution here, needs code clean up still.

@Zentro Zentro marked this pull request as ready for review November 29, 2024 05:32
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.

2 participants