syndesisio / syndesis-react

[FORK] A flexible, customizable, open source platform that provides core integration capabilities as a service.
Apache License 2.0
3 stars 19 forks source link

fix: don't reset OAuth client state #440

Closed zregvart closed 5 years ago

zregvart commented 5 years ago

We need to destroy the state received from backend on API call to /api/v1/connectors/{id}/credentials in order for it not to overwrite the cookie received on /api/v1/credentials/callback. This eliminates the need to parse the cookie in oauth-redirect.html and pass/store it in the app.

riccardo-forina commented 5 years ago

PR Storybook available here

riccardo-forina commented 5 years ago

PR Storybook available here

riccardo-forina commented 5 years ago

PR Storybook available here

pure-bot[bot] commented 5 years ago

Pull request approved by @riccardo-forina - applying approved label