Skip to content
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

Support for Azure AD OAuth2 or local bypass #106

Closed
friedpope opened this issue Apr 14, 2023 · 1 comment
Closed

Support for Azure AD OAuth2 or local bypass #106

friedpope opened this issue Apr 14, 2023 · 1 comment
Labels

Comments

@friedpope
Copy link
Contributor

We're currently using the Azure AD OAuth2 login method with auto-login=true and I've been unable to get the local login method to work in grafana-kiosk. It's the first time I've looked at go code but I think pretty much all of the login methods you've implemented are just looking for and entering data into the login screen that pops up upon loading the URL passed to grafana-kiosk.

Would it be possible to create a method for the Azure AD OAuth2 dialogs?

Or, probably better yet, bypass this using the https://serverurl/login/local page to input local credentials first and then continue on to the main url given to grafana-kiosk. We use this when storing login sessions in Edge right now for our dashboard tvs.

@friedpope
Copy link
Contributor Author

After digging into the code a bit more and pulling my own copy to play with I have the local login bypass working. Next week I'll take a shot at adding a statement to the "local" login method to respect the auto-login bool. When set it'll navigate to the /login/local page, login, wait for the nav bar, and then navigate to the full generatedURL.

@github-actions github-actions bot added the stale label Jul 14, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant