akveo / akveo/ngx-admin

Unable to store post login response from where sidebar navigation will appear

Đang mở
#5,712 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
25.7k
Fork
7.9k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Issue type
Without token, how do we store post login response

**I'm submitting a ...** (check one with "x")

* [ ] bug report
* [ X] feature request
* [ ] question about the decisions made in the repository

### Issue description
Without token, how do we store post login response

Since token is absent in response, I am unable to store post login response from where sidebar navigation will appear.
Here is response I am getting after login, but token will not be there
{
"msg": "OK",
"desc": "",
"code": 200,
"result": {
"totalRecords": 1,
"records": [{
"roleId": "admin",
"description": "Default system user",
"role": {
"displayName": "Admin",
"roleId": "admin",
"description": "Default system role",
"widgetMap": [{
"displayName": "",
"description": "Application Top Section",
"order": 1,
"modifiedDate": "2020-01-01 12:00:00",
"createDate": "2020-01-01 12:00:00",
"parentId": 0,
"status": "Active",
"id": 0,
"type": "section"
}, {
"displayName": "",
"description": "Application Side Navigation Section",
"order": 1,
"modifiedDate": "2020-01-01 12:00:00",
"createDate": "2020-01-01 12:00:00",
"parentId": 1,
"status": "Active",
"id": 1,
"type": "section"
}, {
"displayName": "Puente Dashboard",
"description": "Application Dashboard",
"order": 1,
"modifiedDate": "2020-01-01 12:00:00",
"createDate": "2020-01-01 12:00:00",
"parentId": 1,
"status": "Active",
"id": 2,
"type": "link"
}, {
"displayName": "Security",
"description": "Security Management",
"order": 2,
"modifiedDate": "2020-01-01 12:00:00",
"createDate": "2020-01-01 12:00:00",
"parentId": 1,
"status": "Active",
"id": 3,
"type": "link"
}, {
"displayName": "User",
"description": "User Management",
"order": 1,
"modifiedDate": "2020-01-01 12:00:00",
"createDate": "2020-01-01 12:00:00",
"parentId": 3,
"status": "Active",
"id": 4,
"type": "link"
}, {
"displayName": "Role",
"description": "Role Management",
"order": 2,
"modifiedDate": "2020-01-01 12:00:00",
"createDate": "2020-01-01 12:00:00",
"parentId": 3,
"status": "Active",
"id": 5,
"type": "link"
}, {
"displayName": "Widget",
"description": "Widget Management",
"order": 3,
"modifiedDate": "2020-01-01 12:00:00",
"createDate": "2020-01-01 12:00:00",
"parentId": 3,
"status": "Active",
"id": 6,
"type": "link"
}],
"modifiedDate": "2020-01-01 12:00:00",
"createDate": "2020-01-01 12:00:00",
"status": "Active"
},
"modifiedDate": "2020-01-01 12:00:00",
"userId": "sysadmin",
"password": "$2a$10$Q0TzQETGmyMjNRumCGycYu40ptUGifMN6lmBEGpY5fr/bFVqGMOOa",
"newPassword": null,
"createDate": "2020-01-01 12:00:00",
"status": "Active",
"email": "admin@ark.com",
"phone": "9999999999",
"lastLogin": null,
"logoutTime": null,
"userName": "System Admin",
"address": "Ercisson Global"
}]
}
}

**Current behavior:**

**Expected behavior:**

**Steps to reproduce:**

**Related code:**

```
insert short code snippets here
```

### Other information:

**npm, node, OS, Browser**
```

```

**Angular, Nebular**
```

```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.