Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Add cookie_root_domain to system dashboard #206

Merged
merged 1 commit into from
May 11, 2020

Conversation

Waterdrips
Copy link
Contributor

@Waterdrips Waterdrips commented Apr 26, 2020

Description

The env var for cookie_root_domain was missing from the system_dashboard
deployment, this meant when users with OAuth enabled did not get their
token removed when clicking logout.

see openfaas/openfaas-cloud#623
see openfaas/openfaas-cloud#624

Signed-off-by: Alistair Hey [email protected]

How Has This Been Tested?

This was tested by updating an existing deployment with the new setting
and logging out, the cookie was removed and the oauth flow was triggered
to gain a new token

Checklist:

I have:

  • checked my changes follow the style of the existing code / OpenFaaS repos
  • updated the documentation and/or roadmap in README.md
  • read the CONTRIBUTION guide
  • signed-off my commits with git commit -s
  • added unit tests

The env var for cookie_root_domain was missing from the system_dashboard
deployment, this meant when users with OAuth enabled did not get their
token removed when clicking logout.

see openfaas/openfaas-cloud#623
see openfaas/openfaas-cloud#624

This was tested by updating an existing deployment with the new setting
and logging out, the cookie was removed and the oauth flow was triggered
to gain a new token

Signed-off-by: Alistair Hey <[email protected]>
Copy link
Member

@alexellis alexellis left a comment

Choose a reason for hiding this comment

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

LGTM

@alexellis alexellis merged commit 97da21b into openfaas:master May 11, 2020
@Waterdrips Waterdrips deleted the root-domain branch June 2, 2020 10:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants