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

Make encryption config optional for self hosting users #1476

Merged
merged 3 commits into from
Nov 18, 2024

Conversation

zachgoll
Copy link
Collaborator

In the context of the Maybe app, the encryption module is used in a very narrow scope—for properly storing access tokens for Plaid Items.

Given that self hosters will generally not be managing their own Plaid setup, they will not need the encryption module for a functioning app. The configuration for this module adds quite a bit of overhead to the initial setup for self hosters, so this PR makes it entirely optional. We can adjust this in the future if encryption becomes mandatory for self hosters, but I do not foresee that becoming an issue for quite some time.

session.delete(:return_to)
redirect_to fallback_path
end
end
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Unrelated, fixes a bug where clicking "back" from settings throws a 404 when the "return to" path is the URL of a resource that has been deleted from /accounts page.

@zachgoll zachgoll merged commit 0af5faa into main Nov 18, 2024
5 checks passed
@zachgoll zachgoll deleted the zachgoll/encryption-self-hosting-fix branch November 18, 2024 15:47
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.

1 participant