owncloud / openidconnect

OpenId Connect (OIDC) Integration for ownCloud
GNU General Public License v2.0
6 stars 3 forks source link

add owncloud-selector cookie support #180

Closed butonic closed 3 years ago

butonic commented 3 years ago

For the live migration we are reading a claim from the openid connect userinfo to set the owncloud-selector cookie that the proxy uses to route requests to ocis or oc10.

The response we need to react to is the redirect from the IdP which looks like https://cloud.ocis.test/apps/openidconnect/redirect?code=fooberbazrandombytes&scope=openid%20profile%20email&session_state=some.jwt.token%3D&state=something

There is no Authorization Bearer header set, yet so we cannot set the cookie in the proxy. For now, the best place to put the code is the openidconnect app.

CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.

sonarcloud[bot] commented 3 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication