@@ -120,7 +120,7 @@ func Create(db *database.GormDatabase, vInfo *model.VersionInfo, conf *config.Co
120120 userChangeNotifier .OnUserDeleted (pluginManager .RemoveUser )
121121 userChangeNotifier .OnUserAdded (pluginManager .InitializeForUserID )
122122
123- ui .Register (g , * vInfo , conf .Registration , conf .LocalAuthEnabled , conf .OIDC .Enabled )
123+ ui .Register (g , * vInfo , conf .Registration , conf .LocalAuthEnabled , conf .OIDC .Enabled , conf . OIDC . IDPName )
124124
125125 if conf .OIDC .Enabled {
126126 oidcHandler := api .NewOIDC (conf , db , userChangeNotifier )
@@ -191,7 +191,13 @@ func Create(db *database.GormDatabase, vInfo *model.VersionInfo, conf *config.Co
191191 // schema:
192192 // $ref: "#/definitions/GotifyInfo"
193193 g .GET ("gotifyinfo" , func (ctx * gin.Context ) {
194- ctx .JSON (200 , & model.GotifyInfo {Version : vInfo .Version , Oidc : conf .OIDC .Enabled , Register : conf .Registration , LocalAuth : conf .LocalAuthEnabled })
194+ ctx .JSON (200 , & model.GotifyInfo {
195+ Version : vInfo .Version ,
196+ Oidc : conf .OIDC .Enabled ,
197+ Register : conf .Registration ,
198+ LocalAuth : conf .LocalAuthEnabled ,
199+ OIDCIDPName : conf .OIDC .IDPName ,
200+ })
195201 })
196202
197203 g .Group ("/" ).Use (authentication .RequireApplicationOrClient ).POST ("/message" , messageHandler .CreateMessage )
0 commit comments