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

Clean up test-app authentication #2236

Merged
merged 2 commits into from
Jan 26, 2024
Merged

Clean up test-app authentication #2236

merged 2 commits into from
Jan 26, 2024

Conversation

nmattia
Copy link
Collaborator

@nmattia nmattia commented Jan 25, 2024

This removes the dependency on auth-client for greater flexibility in tests, removes an unused button (signout) from the test app, and makes makes the message-display function a bit more robuest/clear.

This will allow us to be more flexible when testing out new APIs, since we now fully control the authentication flow in the test.


🟡 Some screens were changed

This removes the dependency on auth-client for greater flexibility in
tests, removes an unused button (signout) from the test app, and makes
makes the message-display function a bit more robuest/clear.

This will allow us to be more flexible when testing out new APIs, since
we now fully control the authentication flow in the test.
@nmattia nmattia marked this pull request as ready for review January 26, 2024 11:23
Copy link
Member

@peterpeterparker peterpeterparker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need to save the delegation in idb so that next login reads the existing session? It always start with a sign-in?

demos/test-app/src/auth.ts Show resolved Hide resolved
demos/test-app/src/auth.ts Show resolved Hide resolved
demos/test-app/src/auth.ts Show resolved Hide resolved
demos/test-app/src/auth.ts Show resolved Hide resolved
demos/test-app/src/index.tsx Outdated Show resolved Hide resolved
demos/test-app/src/index.tsx Outdated Show resolved Hide resolved
src/frontend/src/test-e2e/views.ts Show resolved Hide resolved
Copy link
Member

@peterpeterparker peterpeterparker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thx

@nmattia nmattia merged commit c0a5b70 into main Jan 26, 2024
63 checks passed
@nmattia nmattia deleted the nm-no-auth-client branch January 26, 2024 12:27
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

Successfully merging this pull request may close these issues.

2 participants