Open
Conversation
Member
Author
|
Nan, normalement ça on garde. /auth/qr ça semblait être une méthode non achevée pour se connecter avec un qr code sans avoir à poser la carte. Turns out le code concerné (dans borneQr) mettait une valeur dans un cache qui était jamais querry et envoyait via un websocket un objet JSON qui était jamais traité. |
Member
|
Ah ouais j'avais fait /auth/qr et /account/qr mais je me souviens même plus 🤣 C'est bien l'autre qu'on utilise depuis le front |
Contributor
|
Les commits ne respectent pas la norme conventional commit, y'a moyen de juste rebase pour renomer ? |
2db9673 to
93329e0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Refactor the OAuth integration in the project. Mostly here to isolate the current relevant code related to OAuth to rewrite later all authentication on the server side and allow easier integration of other OAuth provider.
It should fix broken authentication with broken redirects.
Removes /auth/qr which was not implemented fully and is not compatible with the refactor.
This PR is not supposed to change the behavior of the server compare to the current implementation, and so will make more sense after the refactor of the authentication middleware.
The project currently does not handle errors in a proper way, so this PR introduces the necessary structs to do it afterwards but does not use them.
Related issues :
None
Types of changes