Skip to content

Implement option for custom redirect URL & Fixes sessions for users not in local database #11 - #1

Merged
mvalois merged 3 commits into
teicee:masterfrom
fservida:master
Jun 25, 2024
Merged

Implement option for custom redirect URL & Fixes sessions for users not in local database #11 #1
mvalois merged 3 commits into
teicee:masterfrom
fservida:master

Conversation

@mvalois

@mvalois mvalois commented Jun 25, 2024

Copy link
Copy Markdown
Member

fservida added 3 commits May 1, 2022 15:48
Implement configuration parameter for OIDC redirect URL.
Useful for setups behind reverse proxies where the URL is incorrectly detected leading to non working redirects
Users not in the user database could not use cookies due to the nature of the cookie itself and the check implemented by yourls.
As such an additional cookie is created stored the username and an additional check is introduced in the plugin to validate the cookie against such username.
The username cookie has the same security properties as the one set by yourls and is deleted upon logout.
@mvalois
mvalois merged commit 5f96339 into teicee:master Jun 25, 2024
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