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

Redirecting for Authorization on fetching Api resource info, only when a browser window is open #12

Open
Deepakgullipalli opened this issue Feb 4, 2023 · 0 comments

Comments

@Deepakgullipalli
Copy link

Please provide us with the following information:

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Step 1: Open a browser window(should be the same browser, where you app will render)
Step 2: Run the App
Step 3: Sign in
Step 4: Click on the Todo in the left menu, to fetch the Todo items
Step 5: Observe that it does not redirect now.
Step 6: Stop the App
Step 7: Run the App again ( Ensure that Browser window is not closed.
Step 8: Do the same step as Step '4'
Step 9: You will observe now that, Url is redirected to Authorize endpoint and then fetches the API info.

Behavior is not the same when the browser window is closed, In the step 9, we don't see that extra redirect.

Any log messages given by the failure

Expected/desired behavior

We do not want to show user that there is a redirect in step 9, incase if a window is already opened.

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Windows 11

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant