rwth-acis / RequirementsBazaar-WebFrontend

Requirements Bazaar, the continuous innovation platform. Repository of the single-page Web application using Web Components, made with love in Aachen, Germany.
https://requirements-bazaar.org
Other
14 stars 5 forks source link

ViaProMa Login Issues #256

Closed EmilieHK closed 2 years ago

EmilieHK commented 2 years ago

Problem description: The login to the Requirements Bazaar as a user of ViaProMa does no longer succeed due to no access token being received by ViaProMa. After correctly signing in in the browser, the user is not redirected to the defined redirectURL but instead to las2peer sites indicating the status of the login via Learning Layers that do not contain the authorization code in the parameters.

How to reproduce the problem:

Clone ViaProMa. Run ViaProMa in Unity and press the yellow button on the main menu cube to open it. Create a new room by pressing the 'Rooms' button and assigning an arbitrary name. Go to 'Load Issues' and press the 'Login' button for the Requirements Bazaar as source. In your browser, enter your login credentials and sign in.

Expected behavior: After the successful login, you are redirected to the following URL and an access token is received by ViaProMa. The indicated login status changes from red to green, saying you are logged in. Redirect_URL

Actual behavior: After the successful login, you are redirected to a las2peer URL with the following error message. CookieNotFound_Error

Alternatively, the displayed message can be as follows. AlreadyLoggedIn

In any case, the login fails and an empty access token is delivered to ViaProMa. See the following debug messages for details. The login status in ViaProMa remains the same and the user is not logged in. Log_Messages

EmilieHK commented 2 years ago

Has been resolved in this Pull-Request and was based on an out-dated URL for the login.