The procedure
1
Capture the token
- Open the browser’s developer tools, with F12 or Ctrl+Shift+I.
- Open the Network tab and refresh the page.
- Find a request to an API endpoint whose headers include
Authorization: Bearer. - Copy the value after
Bearer, the long string.
2
3
Check the claims
Confirm that the claims exist and carry the expected values. That is aroles entry for each section the user should see, and store_ids or chain_ids with the right ids.Failure and edge cases
If the claims are not what you expect:- A claim is missing. The assignment did not reach the user, or the user signed in before it was made. Revisit the configuration steps, then sign out and in again.
- A claim is there but the values are wrong. Compare the ids with the ones in Lobyco’s store master data, and send the corrected list.
Related
- Admin portal chain and store level access — assigning the store and chain claims.
- Access to Lobyco Admin Portal — assigning the roles.