Misi
|
437ae8e8c5
|
Auth: Refactor OAuth connectors' initialization (#77919)
* Refactor AzureAD to init itself
* Use mapstructure to convert data to OAuthInfo
* Update
* Align tests
* Remove unused functions
* Add owner to mapstructure
* Clean up, lint
* Refactor Okta init, Align tests
* Address review comments, fix name in newSocialBase
* Update newSocialBase first param
* Refactor GitLab init, align tests
* Update pkg/login/social/common.go
Co-authored-by: Karl Persson <kalle.persson@grafana.com>
* Use ini conversion to map
* Leftovers
* Refactor GitHub connector initialization, align tests
* Refactor Google connector init, align tests
* Refactor grafana_com connector, align tests
* Refactor generic_oauth connector init, align tests
* cleanup
* Remove util.go
* Add tests for custom field init
* Change OAuthInfo's Extra type
* Fix
* Replace interface{} with any
* clean up
---------
Co-authored-by: Karl Persson <kalle.persson@grafana.com>
|
2023-11-20 09:45:40 +01:00 |
|