Skip to content

Commit e1f9a97

Browse files
website: Use new idp endpoint
idp-go-sdk: Use CheckPassword method
1 parent 1c032da commit e1f9a97

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

integrations/idp-go-sdk/idp/auth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func (s *Service) ValidateUser(userID, password string) (*User, error) {
7575
userFromCache, err := s.usersCache.GetByID(userID)
7676
if err == nil {
7777
// user found in cache, validate password
78-
if userFromCache.Password != PasswordHash(password) {
78+
if isValid, err := CheckPassword(password, userFromCache.Password); err != nil || !isValid {
7979
return nil, ErrInvalidBasicCredentials
8080
}
8181
return userFromCache, nil

services/core/packages/webclient/vite.config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export default defineConfig({
9696
secure: true,
9797
},
9898
'/idp/api/v1/': {
99-
target: 'https://fancyanalytics.net',
99+
target: 'https://idp.fancyspaces.net',
100100
changeOrigin: true,
101101
secure: true,
102102
},

0 commit comments

Comments
 (0)