mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-11 15:53:00 +03:00
fix: do not require PKCE for public clients
This commit is contained in:
@@ -506,7 +506,7 @@ func (s *OidcService) CreateClient(ctx context.Context, input dto.OidcClientCrea
|
||||
LogoutCallbackURLs: input.LogoutCallbackURLs,
|
||||
CreatedByID: userID,
|
||||
IsPublic: input.IsPublic,
|
||||
PkceEnabled: input.IsPublic || input.PkceEnabled,
|
||||
PkceEnabled: input.PkceEnabled,
|
||||
}
|
||||
|
||||
err := s.db.
|
||||
|
||||
Reference in New Issue
Block a user