-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Enhance OAuth integration when user doesn't want to grant permissions #22499
Comments
@ehsavoie thanks for reporting this enhancement, could you provide schematic UX mockup for OAuth opt out? |
@vinokurig thinking about this issue from impl perspective, I'm wondering if user opt out from OAuth / presses |
That would be my expectation. I don't know if the proper place would be the user or the workspace or the user/workspace combinaison |
|
This is a bug. If oauth page is rejected workspace start must proceed with asking to use a default devfile.
Do you think this should be workspace scope or user scope? I mean if an oauth is rejected for particular workspace, should we automatically reject oauth for all other workspaces, or just for the current? |
well, but if the devfile is public we should use it and not fall back on default. |
This should be fixed by eclipse-che/che-dashboard#932 and eclipse-che/che-server#568
This was added on purpose, we did not use to ask the authorisation for public repos at all. As far as I understood #22499 (comment), we should ask the authorisation (even for public repos) but keep the decision in a config-map. |
yes, we should initiate OAuth flow if configured for both public and private repos. If the user opt-out from OAuth, for public repos we should use the original devfile, for private we should use default similar to what was done for #22488 |
after a discussion with @l0rd it was decided that opt-out should be implemented on the provider level, not the workspace. |
Is your enhancement related to a problem? Please describe
I'm always frustrated when I use a Che instance with GitHub OAuth enabled and I want to use a GitHub project to get the devfile I want to use (dong something quite similar to using a devfile registry).
It asks for GitHub permissions which I don't want to grant. If I press Cancel then it keeps on asking them each time I'm opening the workspace. In the end it finished with a 500 Internal Error json message.
Describe the solution you'd like
I'd like Che to accept that I don't want to use OAuth to connect to my GitHub account and I don't want to use Che to do Git operations (in my case it is mostly demo) and stop bugging me about those permissions after I refused to grant them.
Describe alternatives you've considered
I've created a fork of my project on BitBucket because currently it is not integrated with OAuth but that's not going to be something that might be valid in the future.
Additional context
No response
The text was updated successfully, but these errors were encountered: