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

FakeClient should support switching origins #433

Open
langalex opened this issue Oct 16, 2024 · 0 comments
Open

FakeClient should support switching origins #433

langalex opened this issue Oct 16, 2024 · 0 comments

Comments

@langalex
Copy link

I'm writing a test where I register credentials on one subdomain (e.g. www.example.com) and then use them on another (auth.example.com), using a common rp id (example.com). This requires switching the origin in FakeClient, which can currently only be hacked via instance_variable_set.

Changing origin to an attr_accessor should fix the problem.

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