-
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
Restrict domains with SSO via google #1441
Comments
Hello there igimot! 👋 Thank you and congratulations 🎉 for opening your very first issue in this project! 💖 In case you want to claim this issue, please comment down below! We will try to get back to you as soon as we can. 👀 |
Hey, thanks for reaching out. Seems like there's no way to do this with configuration out of the box. Would you verify the solution once I prepare a build with the fix? |
Oh, that's great, sure and thanks!!! |
Please try this image out. You can import it via File SHA1 6d1217ca027e5277b62583af2e875aa4df5b2ee8 |
Oh, guess the access token expired. Please try these: |
oh thats great thx |
Works)))!!
I think good idea used popup message, if not allowed domain for authorizing |
@igimot glad it works. Yeah, we have to adjust that. Could you please share a screenshot of such a page? Is it just blank or with some UI elements? |
Thanks, that's not a good way to display it for sure :) |
Hello, @Haarolean |
@igimot as soon as there are any, I'll let you know. |
@igimot I need you to share the details how to create a dummy google oauth app for this purpose. My setup doesn't work the same way for some reason. Which scopes have you enabled at google cloud? Do you pass |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I'd like this to get done if someone could provide a working setup example for google oauth |
@igimot @adrianoapj can you try this image? |
This issue has been automatically marked as stale because no requested feedback has been provided. It will be closed if no further activity occurs. Thank you for your contributions. |
Hello! I am having a hard time trying to setup this feature. |
Hey, thanks for trying it out. As far as I understand, there has to be a |
Hmm, that's weird, I checked and And it is still accepting my sign-in attempt 🤔 |
@adrianoapj how do I configure that thing on google's side so I can test a real case? |
Here is a step-by-step guide: First, you will need a Google Cloud Platform with a project on it, if you don't have it, then you probably are eligible for a free trial (https://console.cloud.google.com/freetrial) and then get started.
Please let me know if you find some trouble doing it or if you need any additional info about it :) |
Hey, thanks for the more detailed guide, I was asking regarding the hd parameter in particular. I've been able to set up the rest with the previous guide you provided but I've no idea how to make google include this param upon authentication tbh. |
Oh, got it! Well, by default hd parameter should be there, except when you are using a Gmail account (In this case, according with documentation hd is not included). |
Ahh, that might be it. I tried setting up a cloud app but tried logging in via personal account to test the feature. I'll check it out asap and will get back to you, thanks! |
I've been able to receive a request with an and add this env. property: Take a look at the logs, grep by 'OAuthSecurityConfig' |
The image is available via |
@Haarolean can you please release this feature, i have tested in mine and login functionality is working for me. |
that's gonna be a part of #753 within 0.5 release. We're almost done with the frontend, QA left to go. |
will be a part of #753 |
I use google auth with my domain for SSO.
I have domain awsome.com and I want to access only from this domain but if I try authorized from another domain (gmail.com) I have access to kafka-ui. That is not a good solution. I tried to find a solution, but nothing to find.
Maybe you have a solution?
The text was updated successfully, but these errors were encountered: