feat: add DCB User Service API - Authentication system with KEYCLOAK - Modular architecture with services for each feature
This commit is contained in:
parent
2409c279f3
commit
d586552944
@ -134,7 +134,7 @@ export class MenuService {
|
||||
{
|
||||
label: 'Log Out',
|
||||
icon: 'tablerLogout2',
|
||||
url: '#',
|
||||
url: '/auth/logout',
|
||||
class: 'fw-semibold text-danger'
|
||||
},
|
||||
];
|
||||
|
||||
@ -32,15 +32,10 @@ export const userDropdownItems: UserDropdownItemType[] = [
|
||||
{
|
||||
isDivider: true,
|
||||
},
|
||||
{
|
||||
label: 'Lock Screen',
|
||||
icon: 'tablerLock',
|
||||
url: '#',
|
||||
},
|
||||
{
|
||||
label: 'Log Out',
|
||||
icon: 'tablerLogout2',
|
||||
url: '#',
|
||||
url: '/auth/logout',
|
||||
class: 'fw-semibold',
|
||||
},
|
||||
]
|
||||
|
||||
@ -8,7 +8,7 @@ import { environment } from '@environments/environment';
|
||||
@Injectable({ providedIn: 'root' })
|
||||
export class DcbDashboardService {
|
||||
private http = inject(HttpClient);
|
||||
private apiUrl = `${environment.localServiceTestApiUrl}/dcb-dashboard`;
|
||||
private apiUrl = `${environment.iamApiUrl}/dcb-dashboard`;
|
||||
|
||||
// Données mockées pour le développement
|
||||
private mockData: DcbDashboardData = {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
export const environment = {
|
||||
production: false,
|
||||
localServiceTestApiUrl: "https://backoffice.dcb.pixpay.sn/api/v1",
|
||||
iamApiUrl: "https://api-user-service.dcb.pixpay.sn/api/v1",
|
||||
localServiceTestApiUrl: "http://localhost:4200/api/v1",
|
||||
iamApiUrl: "http://localhost:3000/api/v1",
|
||||
dcbApiUrl: 'https://api.paymenthub.com/v2',
|
||||
|
||||
// Configuration DCB
|
||||
|
||||
Loading…
Reference in New Issue
Block a user