Skip to content
This repository was archived by the owner on Mar 3, 2022. It is now read-only.

Injecting User into Session #1205

Open
uchagani opened this issue Sep 18, 2020 · 0 comments
Open

Injecting User into Session #1205

uchagani opened this issue Sep 18, 2020 · 0 comments

Comments

@uchagani
Copy link

I'm testing an application that uses this library. I was wondering if there is a way for me to inject the user object found in the session storage so I can force the application into thinking I am already authenticated as the user in the session storage.

The tokens are not validated by the application I am testing and the APIs that do validate the token are being mocked. I am only testing the UI functionality.

Right now, when I inject the data found in the session storage for the user.oidc object the application ignores it and redirects me to authenticate. The application itself just calls getUser so I'm not sure what else I need to do (or if this is even possible).

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

No branches or pull requests

2 participants