Skip to content

Fix PDF generation for apps behind PlotlyAuth.#60

Merged
T4rk1n merged 2 commits intomasterfrom
orca-cookie
Sep 12, 2018
Merged

Fix PDF generation for apps behind PlotlyAuth.#60
T4rk1n merged 2 commits intomasterfrom
orca-cookie

Conversation

@T4rk1n
Copy link
Copy Markdown
Contributor

@T4rk1n T4rk1n commented Sep 10, 2018

Detect Electron and http request to assume the request is coming from orca PDF generation in order to disable the secure flag on its cookie since orca doesn't support them.

  • Test end-to-end in a DDS 2.5.0 environment

Fix plotly/streambed#11413

@T4rk1n T4rk1n requested review from chriddyp and scjody September 10, 2018 17:18
Copy link
Copy Markdown

@scjody scjody left a comment

Choose a reason for hiding this comment

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

Please make sure you've tested this end-to-end in a DDS 2.5.0 environment. Normally we put things like that in the opening comment of the PR so everything is clear, for example:

  • Test end-to-end in a DDS 2.5.0 environment

Comment thread dash_auth/oauth.py
Copy link
Copy Markdown

@scjody scjody left a comment

Choose a reason for hiding this comment

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

💃 after testing

@T4rk1n T4rk1n merged commit 05994a0 into master Sep 12, 2018
@T4rk1n T4rk1n deleted the orca-cookie branch September 12, 2018 18:42
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.

2 participants