Skip to content

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

@Deepakgullipalli

Description

@Deepakgullipalli

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions