Title: WPO365 | SAMESITE
Author: Marco van Wieren
Published: <strong>27. August 2020</strong>
Last modified: 20. Januar 2025

---

Search plugins

![](https://ps.w.org/wpo365-samesite/assets/banner-772x250.png?rev=2369982)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/wpo365-samesite/assets/icon-256x256.png?rev=3099132)

# WPO365 | SAMESITE

 By [Marco van Wieren](https://profiles.wordpress.org/wpo365/)

[Download](https://downloads.wordpress.org/plugin/wpo365-samesite.1.5.zip)

 * [Details](https://de-ch.wordpress.org/plugins/wpo365-samesite/#description)
 * [Reviews](https://de-ch.wordpress.org/plugins/wpo365-samesite/#reviews)
 *  [Installation](https://de-ch.wordpress.org/plugins/wpo365-samesite/#installation)
 * [Development](https://de-ch.wordpress.org/plugins/wpo365-samesite/#developers)

 [Support](https://wordpress.org/support/plugin/wpo365-samesite/)

## Description

Plugin for WordPress websites that require a user to sign in (e.g. with Microsoft
using the [WPO365](https://wordpress.org/plugins/wpo365-login/) plugin) and that
are loaded inside an iframe (e.g. inside a Microsoft Teams App / Tab or similar).
The plugin overrides the pluggable WordPress function **wp_set_auth_cookie** to 
_always_ set **SameSite=None** to enable third-party usage of cookies.

#### Prerequisites

 * The **SameSite=None** flag is only respected by browsers such as Chrome when 
   the cookie’s Secure flag is set. Therefore the website must use SSL for the plugin
   to effectively enable browser support for 3rd party cookies.

#### Support

I will go to great length trying to support you if the plugin doesn’t work as expected.
Go to our [Support Page](https://www.wpo365.com/how-to-get-support/) to get in touch.
I haven’t been able to test our plugin in all endless possible WordPress configurations
and versions so I am keen to hear from you and happy to learn!

#### Feedback

I am keen to hear from you so share your feedback with me on [Twitter](https://twitter.com/WPO365)
and help me get better!

#### Open Source

When you’re a developer and interested in the code you should have a look at the
corresponding gist at [github](https://gist.github.com/wpo365/b0a1c3c8c5612fd0012de2e2f65c09c4).

## Installation

Perform the following steps to install the plugin:

 * Go to **WP Admin > Plugins > Add new** and search for **WPO365**.
 * Click **Install** to install the plugin.
 * Click **Activate** to activate the plugin.

## Reviews

![](https://secure.gravatar.com/avatar/c9245b9c453579adde526e591e98acd9ebd118f78b7f4a5b2eef88e28849a925?
s=60&d=retro&r=g)

### 󠀁[Great plugin!](https://wordpress.org/support/topic/great-plugin-31460/)󠁿

 [zebrastribe2](https://profiles.wordpress.org/zebrastribe2/) 8. Juli 2021

It works as it should. Great work!

![](https://secure.gravatar.com/avatar/ff11023ef19beafbd2af37114b8a0fe174aba658930d847ad91c78c1e5da477c?
s=60&d=retro&r=g)

### 󠀁[works](https://wordpress.org/support/topic/works-1781/)󠁿

 [typeless](https://profiles.wordpress.org/jbalyo/) 2. September 2020 1 reply

This is a simple little solution that actually works. Easy set up, no hassle.

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/wpo365-samesite/reviews/)

## Contributors & Developers

“WPO365 | SAMESITE” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Marco van Wieren ](https://profiles.wordpress.org/wpo365/)

[Translate “WPO365 | SAMESITE” into your language.](https://translate.wordpress.org/projects/wp-plugins/wpo365-samesite)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wpo365-samesite/), 
check out the [SVN repository](https://plugins.svn.wordpress.org/wpo365-samesite/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wpo365-samesite/)
by [RSS](https://plugins.trac.wordpress.org/log/wpo365-samesite/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### v1.4

 * Fix: Tested with latest versions of WordPress and PHP.

#### v1.3

 * Fix: Tested with latest versions of WordPress and PHP.

#### v1.2

 * Fix: Added support for PHP 8.

#### v1.1

 * Fix: The plugin would end up in an infinitely loop when using PHP 7.2 or older.
   This has been fixed by implementing a work-around that abuses the «path» or «
   domain» parameter of PHP’s «setcookie» function to sneak in the SameSite attribute
   because PHP does not escape semicolons.

#### v1.0

 * Initial version

## Meta

 *  Version **1.5**
 *  Last updated **2 Jahren ago**
 *  Active installations **200+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **6.7.10**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/wpo365-samesite/)
 * Tags
 * [cookies](https://de-ch.wordpress.org/plugins/tags/cookies/)[microsoft teams](https://de-ch.wordpress.org/plugins/tags/microsoft-teams/)
   [samesite](https://de-ch.wordpress.org/plugins/tags/samesite/)[teams](https://de-ch.wordpress.org/plugins/tags/teams/)
 *  [Advanced View](https://de-ch.wordpress.org/plugins/wpo365-samesite/advanced/)

## Ratings

 5 von 5 Sternen.

 *  [  2 5-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/wpo365-samesite/reviews/?filter=5)
 *  [  0 4-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/wpo365-samesite/reviews/?filter=4)
 *  [  0 3-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/wpo365-samesite/reviews/?filter=3)
 *  [  0 2-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/wpo365-samesite/reviews/?filter=2)
 *  [  0 1-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/wpo365-samesite/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wpo365-samesite/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wpo365-samesite/reviews/)

## Contributors

 *   [ Marco van Wieren ](https://profiles.wordpress.org/wpo365/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wpo365-samesite/)