akveo / akveo/ngx-admin

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

Offen
#5,712 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
25.7k
Forks
7.9k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### 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**
```

```

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.