-
-
Notifications
You must be signed in to change notification settings - Fork 179
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
Add oauth2 web flow #953
base: master
Are you sure you want to change the base?
Add oauth2 web flow #953
Conversation
As being on vacation the review will be a little bit delayed. |
Dont worry. I will be on vacations as well. |
@jabdoa2 just tell me when you are finally done and I might review |
I have used it for a few weeks now and it works well. So ready for review :-). |
@jabdoa2 sorry for the late reply. I do not fully understand in how far this is a server type? |
This is a type of authentication. It works similar to: https://github.com/int128/kubelogin/blob/master/docs/credential-plugin-diagram.svg (from https://github.com/int128/kubelogin). This allows you to use almost any cooperate single-sign on solution (such a keycloak, google, azure, okta, facebook, github and may more). Also enables 2FA or PKI solutions. I can show this to you if you like to see it in action. We can schedule a call if you like (i am GMT+2). Looks like I accidentally included a bugfix for the notification server in this PR. I can rebase if that helps. |
Yes, this is why I am wondering. Maybe we'll find a better place to put that logic into, as the |
I am going to test the functionality with local Keycloak setup. |
Let me know if you need any help with setting up a local keycloak. I guess you could also use the testground at https://openidconnect.net/ as a provider. For your Icingaweb (or any other web based solution) you need Apache with mod_auth_oidc (or any other similar extension) or nginx with an oidc extension. |
Is there anything I could help here? |
@jan-kantert can you test it? And as mentioned to @jabdoa2, I would not sort this functionality into |
Can I test this please? But I dont have the brains to build from source 😞 |
I have built this and my current config now doesnt work, get the below errors
|
I have a working keycloak setup and would love to test this out |
When do you get that error? When nagstamon runs? When compiling? |
I get the error running nagstamon on the command line, it runs kind of fine from a compiled app. But it fails to get any data |
Hi @jabdoa2 @HenriWahl My results: After migrating the changes from this PR* into Nagstamon 3.14 or the newer Version 3.16.2 the build was successfull and nagstamon start up. Nagstamon is not able to connect and throw in the GUI the error
This is this line: Nagstamon/Nagstamon/Servers/Generic.py Line 1498 in 5a37b6c
After quitting and restarting Nagstamon he shows me the same error. But this is where my knowledge comes to an end. Relates to Issue #1048 Edit: I forget to mention another change, but that shouln´t have any impact for this. |
No description provided.