05-24-2023, 08:57 PM
Hi Alexandre,
I have implemented the new OAuth features in my application, and overall, everything is functioning well. However, I am encountering some issues still with the main form. Let's consider the following scenario:
1. When a user is not logged in, they are presented with a login/password form, which also offers the option to log in with Google. At this point, the main form has already been assigned (login form), and the user session has been created.
2. If the user chooses to log in with Google, the application goes through the entire login process, including saving the cookie and storing the relevant information in the database.
3. Here lies the problem: even after successfully logging in with Google, the login form continues to be displayed to the user. Since the IWServerControllerBaseGetMainForm event no longer fires (and no event fires in the login form, except the IWAppFormRender), I am unable to proceed to the next form, the user menu.
Now, if the user closes the browser and starts a new session, I can check whether the user has the cookie with the token hash and set the main form accordingly. However, I am specifically referring to the situation immediately after the user clicks "log me in with Google." I am unsure how to advance to the next form, which is the user menu.
I have implemented the new OAuth features in my application, and overall, everything is functioning well. However, I am encountering some issues still with the main form. Let's consider the following scenario:
1. When a user is not logged in, they are presented with a login/password form, which also offers the option to log in with Google. At this point, the main form has already been assigned (login form), and the user session has been created.
2. If the user chooses to log in with Google, the application goes through the entire login process, including saving the cookie and storing the relevant information in the database.
3. Here lies the problem: even after successfully logging in with Google, the login form continues to be displayed to the user. Since the IWServerControllerBaseGetMainForm event no longer fires (and no event fires in the login form, except the IWAppFormRender), I am unable to proceed to the next form, the user menu.
Now, if the user closes the browser and starts a new session, I can check whether the user has the cookie with the token hash and set the main form accordingly. However, I am specifically referring to the situation immediately after the user clicks "log me in with Google." I am unsure how to advance to the next form, which is the user menu.

