Login_Web_Button page is excluded in the OIDC 4.6.0

0
Hi, GuysI am currently working with the TC connector sample application in Mendix Studio Pro v11.12.2. As part of this, I've had to upgrade the OIDC module to version 4.6.0 to ensure compatibility with the Mendix version.In the previous OIDC version (3.1.0), there was a dedicated page named Login_Web_Button that we used for user login. I'm having trouble locating an equivalent page or functionality in OIDC version 4.6.0.Could you please advise on the following:Where can I find the Login_Web_Button page or its equivalent in OIDC version 4.6.0?If this specific page no longer exists, is there an alternative page or microflow to use for login purposes in OIDC 4.6.0?Any guidance you can provide on integrating the login functionality with the updated OIDC module would be greatly appreciated.Thank you for your time and assistance.
asked
2 answers
1

Hi Yongpyo,

In OIDC SSO version 4.6.0, the Login_Web_Button page that was available in version 3.1.0 has been removed. This was part of the security improvements in the module, where the Anonymous user and Anonymous role were also removed. Since the Login_Web_Button page depended on the Anonymous role, it was removed as well.

Therefore, there is no direct replacement for the Login_Web_Button page in version 4.6.0.

If the intention of the Login_Web_Button was to direct users to the IdP selection page, you can use the oauth/v2/login endpoint for this purpose.

Alternatively, you can customize the login.html page to perform either a Manual Redirection or an Automatic redirection to the appropriate login endpoint, depending on the desired login experience. The OIDC SSO documentation (https://docs.mendix.com/appstore/modules/oidc/#configuring-login-redirection) provides guidance on configuring these redirect options.

Kindly mark this as the accepted answer if it helps.

answered
0

Hi Yongpyo,

For OIDC 4.6.0, the recommended approach is to use the login flow provided by the module rather than looking for the old page. The current documentation states that the OIDC SSO module can initiate authentication through:https://<your-app-url>/oauth/v2/login


For a custom login page, you can use the OIDC login snippet/flow and configure the application's authentication accordingly. The documentation also recommends setting the Sign-in page to None when using OIDC SSO.


Since you're using the Teamcenter Connector sample, there is a slight difference: the current Teamcenter documentation still refers to Login_Web_Button, so it looks like the sample application and the newer OIDC module are not completely aligned.


I would therefore check the USE_ME > 2. Login > a. Web folder in the OIDC 4.6.0 module and use the available login snippet/microflows from there rather than copying the old Login_Web_Button page from 3.1.0.


Kindly mark this as the accepted answer if it helps.

answered