revertinc / revert

Revert makes it incredibly easy to build integrations with any third party API
https://revert.dev
GNU Affero General Public License v3.0
947 stars 74 forks source link

feat: support `redirectUrls` optionally #574

Closed Nabhag8848 closed 5 months ago

Nabhag8848 commented 5 months ago

Description

Type of change

Checklist:

vercel[bot] commented 5 months ago

@Nabhag8848 is attempting to deploy a commit to the OpenInt Team on Vercel.

A member of the Team first needs to authorize it.

github-actions[bot] commented 5 months ago

Thank you for following the naming conventions for pull request titles! 🙏

Nabhag8848 commented 5 months ago

@jatinsandilya ready to review.😌

Example Usage in React. Works in Vue similarly by adding redirectUrl. for users Directly using links they can provide there redirectUrl within state object.

<RevertConnect
                config={{
                    revertToken: '',
                    tenantId: 'testTenantId',
                    onClose: () => {
                        console.log('On close working!');
                    },
                    redirectUrl: 'http://localhost:3000/home', <- this is optional
                }}
 />
vercel[bot] commented 5 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
revert-client ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 30, 2024 8:48am
Nabhag8848 commented 5 months ago

@jatinsandilya resolved merge conflict generated from #576