-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add OpenID Connect for Self-Hosted Instances #1319
Conversation
@torbenraab is attempting to deploy a commit to the Plane Team on Vercel. A member of the Team first needs to authorize it. |
Hi @torbenraab, I wanted to express my gratitude for your valuable contribution to Plane. Your efforts are greatly appreciated by our team. We will be merging your pull request (PR) into the codebase as soon as possible. |
Hey @torbenraab I was trying to test this out in a codespace and ran into the following errors during build
|
Hey @rush-skills, |
Hey @pablohashescobar, |
Hi @torbenraab, that's certainly an option but we can try replacing the variables during runtime which will avoid the need to rebuild the docker containers. I will take a look at it soon. |
I got tricked by rebuilding the docker image it also, but works great overall! |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@pablohashescobar I thought of another possibility which involves fetching the "Sign-In Configuration" from the backend. A con is that there will be a minor loading time before the login screen shows. Pros would be that there are no rebuilds of the images needed and that there would be a direct connection check to the backend to check if everything is online. If that is a possibility you would be fine with I can implement it. |
We could also just use the "backend" functionality of NextJS as these variables don't require a rebuild |
@torbenraab I'd really like to use this once it's merged in - with this branch, can I link existing users to SSO users, or will the SSO attempt to create its own users? If so I can create my users now, and link them later. |
Hi @torbenraab, the idea looks good but it requires saving the configuration in the database or just getting the variables from the environment. |
@pablohashescobar Currently I get the variables from the NextJS environment as in the docker-compose file. Using the NextJS Backend functionality. I just can't get the build working locally at the moment |
…e to use the prebuild images and only changes the environment variables
@jdperos So basically yes you can create them now and link later. |
…oidc-auth # Conflicts: # docker-compose.yml # web/components/account/oidc-login-button.tsx # web/pages/api/oidc-settings.ts # web/services/oidc.service.ts # web/types/oidc.d.ts
@pablohashescobar Is it possible to merge this soon? I have quite a hard time to keep up with the changes in your develop branch. I don't get the part of the split env files for example because now you would have to enter the OIDC Configuration in multiple files. |
waiting for this |
I'm waiting for this too. I'd love to know why it has not been merged yet. This is one major point that hinders me from using Plane for our team. I cannot use Plane without it since users cannot change their own passwords. |
Plane has so far been the best solution my team has found in terms of feature set and other things, but we need to be able to cleanly integrate with authentik. I hope this gets merged soon! |
Same for us. Happy to discuss a sponsoring so this can be merged soon. |
Hi, |
Hey there, are there any updates on your side? We would want to upgrade soon but we need SSO as we are currently running a custom build from an earlier version, but we want to use the new features |
Hello @torbenraab, Thank you for your patience. We wanted to update you that your pull request is on our radar and is scheduled to be merged shortly. Currently, we are undergoing a significant development overhaul, which has impacted the timeline for integrating new changes, including this PR. We appreciate your understanding during this period of extensive updates, and we're committed to ensuring that your contribution is incorporated as soon as our revamp process permits. |
any updates? |
Hello @chaeyan, I wanted to update you regarding our current project status. We're addressing some major issues at the moment, which has resulted in a delay in the development of new features. Please be assured that we will commence work on this PR as soon as possible. Thank you for your understanding and patience. |
Hey just seen the new release. I would be happy to help with the implementation into the new god mode. Just say if I should do so @pablohashescobar |
Hey, any updates? Is it still planed for v0.15 and when can we expect the release? |
well i guess that didnt go well |
Since we would also like to upgrade to the new features and the demand for OIDC is also increasing here, I would like to deal with the topic again in the next few days and also make the necessary changes in God mode, etc. One question arose when I looked at the current code. Why are so many functions duplicated in the Web and Spaces application? What is the purpose of the Spaces app and why is it not integrated into the web? I will keep you guys updated. Hope this gets then merged as soon as possible😅 |
Work continued in #3341 Because a merge was a total disaster I reworked the current develop branch and adapted everything done her plus some extras. Hope you like it and it gets merged soon |
This PR resolves #413
The Flow was adapted from the Github OAuth Flow to comply with the OIDC Authorization Code Flow.
It set's the Mail address and username (if available) from the OIDC-Provider as a default for the user. I didn't integrate the possibility to use surname and last name, as it is not standardized.
Tested with Authentik for now.