Bunny.net media library integration with OAuth authentication#9
Open
martinjagodic wants to merge 12 commits intomasterfrom
Open
Bunny.net media library integration with OAuth authentication#9martinjagodic wants to merge 12 commits intomasterfrom
martinjagodic wants to merge 12 commits intomasterfrom
Conversation
- Added BunnyAuthManager to handle OAuth-style authentication and credential storage. - Introduced BunnyManagementApi to fetch storage zone passwords using Account API Key. - Updated BunnyClient to support optional API key and added methods for authentication checks. - Enhanced BunnyWidget to manage authentication state and display login prompt. - Created LoginPrompt component for user authentication interface. - Modified index.js to handle OAuth callback and manage authentication flow. - Updated config.yml to remove API key from configuration. - Adjusted types to include AuthState for managing authentication state.
… file management tests
…s in Bunny.net integration
- improve URL parameter handling; enhance FileGrid - FileUpload components with styled components
✅ Deploy Preview for pm-decap-cms ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Integrate Bunny.net media library into Decap CMS, implementing an OAuth authentication flow to manage user credentials securely. This change enhances the media management capabilities by allowing users to authenticate and access their Bunny.net storage seamlessly.
Test plan
Tested the integration by verifying the login prompt appears when credentials are missing and ensuring that files from Bunny.net are listed and can be inserted correctly when authenticated. All functionality was validated through Cypress tests.
Checklist
Please add a
xinside each checkbox:A picture of a cute animal (not mandatory but encouraged)