Skip to the content.

Access Control (ACL)

1. When is Basic Authorization used vs. Bearer Authorization?
Basic Authorization Bearer Authorization
The basis Auth allow you to access the API directly with your credential : user/password. To access the API with a bearer token you will need to make 2 call :one to get the bearer tokenone to get the data
The use case for this are integration with reporting tools like PowerBI, Tableau, QLik, BoldBI… Once you have the bearer token you can reuse it and keep it for up to 60 minutes. You can refresh (to extend the validity) or revoke the bearer (to remove the validity) if needed.
calling the API choose “Basic Auth” and fill-in the user password. The information will be encoded with Base64 to avoid to be readable when sent. It is the recommended Authentication methods whenever possible. It is ideal when scripting, when developing external app or when doing integration with external tools.
  Make a first call to the UAS endpoint to get a bearer. How to get a bearer Token Make a call to the API with the retrieve bearer. For instance, in Postman when calling the API choose “Bearer Token” and fill-in the bearer value.
2. What does the JSON Web Token package do?

is an open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between parties as a JSON object. This information can be verified and trusted because it is digitally signed. JWTs can be signed using a secret (with the HMAC algorithm) or a public/private key pair using RSA or ECDSA.

3. What considerations should we make when creating and storing a SECRET?
  1. choose strong plain-text.
  2. encode the SECREAT contant.
  3. do not share it.

Document the following Vocabulary Terms

###Term:


Ibarhem Al-omari

GitHub

LinkedIn

Email: ibrahem.omari96@gmail.com