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

Refactor authn.io and add architecture that supports multiple UIs #104

Open
dlongley opened this issue Jun 10, 2022 · 2 comments
Open

Refactor authn.io and add architecture that supports multiple UIs #104

dlongley opened this issue Jun 10, 2022 · 2 comments

Comments

@dlongley
Copy link
Contributor

The mediator code is quite outdated here -- and has gone through several iterations of different mutations across different JS frameworks. We need to refactor it to separate out the non-JS-specific-framework code from a general JS vanilla mediator application. This cleaner layering should make the code much more maintainable and allow for different JS frameworks with minimal view code to be used over time as needed.

Additionally, this approach should help enable authn.io to support multiple UIs that work with the same underlying storage -- allowing multiple mediator experiences that can be chosen by the relying party.

@dlongley
Copy link
Contributor Author

This work should not be started until the next release that includes 1p window flows and Web Share API-based sharing (mostly targeting native apps).

@dlongley
Copy link
Contributor Author

Some work has now been completed that better separates the mediator code into vanilla JS vs. UI-framework-specific code, but more work is required to enable multiple UIs.

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