wso2 / product-is

Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identity Server repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
746 stars 724 forks source link

Different behaviours can be see for links that are invalid on Magic link #14497

Open aaujayasena opened 2 years ago

aaujayasena commented 2 years ago

Describe the issue: Two different behaviours can be see for links that are invalid

How to reproduce: Scenarios 01

  1. Login to the management console
  2. Create application with authentication steps as Magic links.
  3. Login to the application with identifiers 1st authentication.
  4. Get the received link and login
  5. Log out
  6. Login again with same link

Scenarios 02

  1. Login to the management console
  2. Create application with authentication steps as Magic links.
  3. Login to the application with identifiers 1st authentication.
  4. Login with the link after expired time exceed (5 minutes)

Expected behavior: Have same behaviours for links that are invalid. Better to navigate authentication error page

Environment information (Please complete the following information; remove any unnecessary fields) :


Optional Fields

Related issues:

Suggested labels:

Avarjana commented 2 years ago

Both the scenarios should have a similar handling mechanism with OIDC response. Following are the reasons for current behaviour,

Suggestion to fix (Will not be addressed ATM)