Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should be shown a proper messages when using the session logout api #62

Open
komal-sh-27 opened this issue Jun 21, 2023 · 0 comments
Open
Labels
Suggestion Regarding new things added

Comments

@komal-sh-27
Copy link

Description
Should be shown a proper messages when using the session logout api. Please follow the below cases point:

  1. If we have expired the token from session/logout api then used this same token for ticket fetch api's. Then shows an message like this:
    "message": "Invalid credentials."

Here should be shown a message like this: "This api is expired so not working, please check once again"

  1. If we have disable api token from admin dashboard then worked with this token for tickets fetch api's. Then shows an message like this:
    "message": "An authentication exception occurred."

Here should be shown a message like this: "This api is disabled from admin end, please check once again"

  1. If we have expired the token from session/logout api then used this same token for the session logout. Then shows an message like this:
    "message": "Invalid credentials."

Here should be shown a message like this: " This Session token has been already expired successfully."

Possible Solution:

Should be shown a proper message while using the below cases.

@komal-sh-27 komal-sh-27 added the Suggestion Regarding new things added label Jun 21, 2023
Abhi12-gupta added a commit to Abhi12-gupta/api-bundle that referenced this issue Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Suggestion Regarding new things added
Projects
None yet
Development

No branches or pull requests

1 participant