From 319851802df657f2b634ac0d1c6f0eaf9896cccd Mon Sep 17 00:00:00 2001 From: Maicol Bentancor Date: Sun, 18 Aug 2019 20:36:14 -0300 Subject: [PATCH] Fix token doc links (#1327) --- SUMMARY.md | 4 ++-- docs/config/initialization.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SUMMARY.md b/SUMMARY.md index b8ae69915..44f8bc9e6 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -17,6 +17,6 @@ * [Testing](docs/usage/testing.md) * [FAQ](docs/faq.md) * [Conceptual Diagrams](docs/conceptual.md) - * [Token Management](docs/conceptual.md#about-token-management) - * [Batch Requests](docs/conceptual.md#about-batch-requests) + * [Token Management](docs/conceptual#about-token-management) + * [Batch Requests](docs/conceptual#about-batch-requests) * [Security](docs/security.md) diff --git a/docs/config/initialization.md b/docs/config/initialization.md index a6ffe5367..0881b6fec 100644 --- a/docs/config/initialization.md +++ b/docs/config/initialization.md @@ -7,7 +7,7 @@ The following settings are available for configuration in `config/initializers/d | **`change_headers_on_each_request`** | `true` | By default the access-token header will change after each request. The client is responsible for keeping track of the changing tokens. Both [ng-token-auth](https://github.com/lynndylanhurley/ng-token-auth) and [jToker](https://github.com/lynndylanhurley/j-toker) do this out of the box. While this implementation is more secure, it can be difficult to manage. Set this to false to prevent the `access-token` header from changing after each request. [Read more](#about-token-management). | | **`token_lifespan`** | `2.weeks` | Set the length of your tokens' lifespans. Users will need to re-authenticate after this duration of time has passed since their last login. | | **`token_cost`** | `10` | Set the cost of your tokens' cost. The possible cost value is within range from 4 to 31. It is recommended to not use a value more than 10. For details see [BCrypt Cost Factors](https://github.com/codahale/bcrypt-ruby#cost-factors). | -| **`batch_request_buffer_throttle`** | `5.seconds` | Sometimes it's necessary to make several requests to the API at the same time. In this case, each request in the batch will need to share the same auth token. This setting determines how far apart the requests can be while still using the same auth token. [Read more](#about-batch-requests). | +| **`batch_request_buffer_throttle`** | `5.seconds` | Sometimes it's necessary to make several requests to the API at the same time. In this case, each request in the batch will need to share the same auth token. This setting determines how far apart the requests can be while still using the same auth token. [Read more](conceptual#about-batch-requests). | | **`omniauth_prefix`** | `"/omniauth"` | This route will be the prefix for all oauth2 redirect callbacks. For example, using the default '/omniauth' setting, the github oauth2 provider will redirect successful authentications to '/omniauth/github/callback'. [Read more](#omniauth-provider-settings). | | **`default_confirm_success_url`** | `nil` | By default this value is expected to be sent by the client so that the API knows where to redirect users after successful email confirmation. If this param is set, the API will redirect to this value when no value is provided by the client. | | **`default_password_reset_url`** | `nil` | By default this value is expected to be sent by the client so that the API knows where to redirect users after successful password resets. If this param is set, the API will redirect to this value when no value is provided by the client. |