-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding admin console auth. This might seem really funny at glance with the whole empty `NewElasticsearchAuthProvider()` which is essentially used only to add two routes, but in the future adding any oAuth provider should be trivial. In fact, I was able to create Google oAuth app and log in using my credentials. For now however, we have a nice login screen asking for our Elasticsearch credentials. The whole logic is really in `HandleElasticsearchLogin`. At this moment, **if Elasticsearch cluster allows unauthenticated access, Quesma disables admin console auth.** ![image (20)](https://github.com/user-attachments/assets/d21f4a1e-c42b-45e4-a8ce-bd3859fcfb5a) --------- Signed-off-by: Przemysław Hejman <[email protected]> Co-authored-by: Jacek Migdal <[email protected]>
- Loading branch information
Showing
7 changed files
with
331 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.