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

Unable to login with cfx in FiveM #415

Closed
Ventrex opened this issue Dec 29, 2023 · 3 comments
Closed

Unable to login with cfx in FiveM #415

Ventrex opened this issue Dec 29, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@Ventrex
Copy link

Ventrex commented Dec 29, 2023

Bug description

When you create a new and empty website for FiveM only the person who created the website can login.
We tried to use an other username during the installation and even with that username we where unable to login.
Only the person who installed the azuriom webpage can login.
When you try to login via the new login method (since the update of 05-12-2023) this issue exists.

Step to reproduce

  • Create a new website
  • Login with an other username in cfx (not yourself otherwise it will “work”, not really)
  • login with own cfx or other cfx (not the same as used during installation)
  • Looks like the cache or something from cfx local is used, not the one you fill in. But others cannot login because if this. Only 1 person can login. The creator.
  • logs is empty
    image

Errors / Logs

Oops

The software powering this discussion forum encountered an unexpected problem. We apologize for the inconvenience.

Detailed information about the error was logged, and an automatic notification generated. We'll take a look at it.

No further action is necessary. However, if the error condition persists, you can provide additional detail, including steps to reproduce the error, by posting a discussion topic in the site's feedback category.

Web server

Nginx

Database type

MySQL

PHP version

8.1

Additional context

No response

@MrMicky-FR MrMicky-FR added the bug Something isn't working label Dec 29, 2023
@MrMicky-FR
Copy link
Member

The problem is that Discourse (the forum system used by Cfx) requires the client_id to be unique for each user. However, Azuriom has no way of knowing whether the user has already logged on to the site before the user is logged in.

Also, using a different client_id for each connection would result in a new authorized application appearing each time in the user profile on Cfx.re, which would not be viable.

Until we have a better solution, we reverted the authentication for FiveM to Steam. This does not affect compatibility with AzLink.

@Poseidon281
Copy link

How ever when i download the newest version of yesterday it is still via CFX Login. Did you just change this? Do i need to download the newest version or was this changest like a few days ( or more) ago?

@MrMicky-FR
Copy link
Member

Yes just changed it 5 minutes ago, the new version (1.1.8) will be released shortly

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

3 participants