ibm-cloud-docs / appid

IBM Cloud App ID documentation
https://cloud.ibm.com/docs/services/appid?topic=appid-gettingstarted#gettingstarted
6 stars 24 forks source link

Confusing token expiration default values and options #358

Closed yumaoka closed 4 years ago

yumaoka commented 4 years ago

https://cloud.ibm.com/docs/services/appid?topic=appid-customizing-tokens#customizing-tokens

The table below in the page above has a couple of issues.

  1. Value type in the actual configuration is actually seconds. e.g. default access token expiration value is 3600 (seconds = 60 minutes).
  2. Options for Refresh/Anonymous is "Any value between 1 and 9" in this table, but the default value is 30.

You can customize your tokens in the GUI or by using the API{: external} by setting the lifespan validity or by adding custom claims to your tokens. Check out the following table to see how lifespan is configured or continue reading to learn about mapping custom attributes.

Table 1. Token customization options
Token type Value type Default Options
Access Minutes 60 Any value between 5 and 1440
Identity Minutes 60 Any value between 5 and 1440
Refresh Days 30 Any value between 1 and 9
Anonymous Days 30 Any value between 1 and 9
smguilia commented 4 years ago

Hi @yumaoka,

Thank you for pointing this out. I incorporated your feedback into the documentation and the changes will go out with the next push to production. Please continue to leave feedback in the future. We're always looking for ways to make the documentation better.

-Shawna