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

Testing environment for Web3Auth #1624

Open
lpbonomi opened this issue Nov 1, 2023 · 6 comments
Open

Testing environment for Web3Auth #1624

lpbonomi opened this issue Nov 1, 2023 · 6 comments

Comments

@lpbonomi
Copy link

lpbonomi commented Nov 1, 2023

Is your feature request related to a problem? Please describe.

I'm always frustrated when I want to create a test for features that require the user to be logged in because it is complicated and incomplete, I can't test Google login for example.

Describe the solution you'd like

I would like to have a mode where the user would be automatically logged after clicking a login method. It would be great to also have failing cases, for example, if the user closes the login window.

Describe alternatives you've considered

I think there are no alternatives

Additional context

No additional context

@lpbonomi
Copy link
Author

lpbonomi commented Nov 2, 2023

Which part are you asking about?

@shahbaz17
Copy link
Member

Hey @lpbonomi

Have you tried logging in with JWT?

@Jackman3005
Copy link

@shahbaz17 I think custom JWT provider flow does not support modal sdk.

I'm also painfully wanting to know how I can login to the app in an automated test. We desperately need some direction here...

🙏

@Jackman3005
Copy link

@lpbonomi did you ever come up with a workaround for your use case?

@shahbaz17
Copy link
Member

Hi @Jackman3005,

Currently, our offering does not support test accounts, but we are working on enabling them for testing purposes, which will be available soon.

I will keep you updated once it becomes available.

@Jackman3005
Copy link

@shahbaz17 Thanks for your quick response. That's great news. I look forward to trying it out soon!

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

No branches or pull requests

3 participants