Skip to content

Commit

Permalink
docs: fix invalid links
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Aug 6, 2020
1 parent 7800049 commit 3838cdc
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docs/docs/5min-tutorial.mdx
Expand Up @@ -75,7 +75,7 @@ CLI installed locally, you can omit
The OAuth 2.0 client uses port `4444` and `4445`. The former is ORY Hydra's
public endpoint, the latter its administrative endpoint. For more information
head over to
[Exposing Administrative and Public API Endpoints](hydra/production.md).
[Exposing Administrative and Public API Endpoints](production).

Let's create the OAuth 2.0 Client:

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/advanced.md
Expand Up @@ -324,7 +324,7 @@ accepting the latter login request in your login provider will make hydra reply:
The suggested flow is:

Check the response from
[GET login request](https://www.ory.sh/hydra/docs/reference/api#get-a-login-request),
[GET login request](reference/api#get-a-login-request),
if both the `subject` and `login_hint` are NOT empty and also NOT the same user,
redirect UserAgent to `request_url` which is appended with '?prompt=login'. This
will make hydra ignore the existing authentication, and allow your login
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/case-study.md
Expand Up @@ -33,7 +33,7 @@ So you decide to implement OAuth2 and use ORY Hydra to do the job. You run Hydra
by adding its Docker image to your cluster. Next, you set up some exemplary
OAuth2 clients. These clients need to access a user's todo lists. To do so, the
client initiates an OAuth2 request. This is where Hydra's
[user login & consent flow](hydra/oauth2.md) comes into play. Before Hydra can
[user login & consent flow](oauth2) comes into play. Before Hydra can
issue an access token, we need to know which user is giving consent. To
determine this, Hydra redirects the user agent (browser, mobile device) to
ToDo24's login endpoint alongside with a challenge that contains important
Expand Down
17 changes: 8 additions & 9 deletions docs/docs/faq.md
Expand Up @@ -206,12 +206,12 @@ Check the logs using `docker logs <container-id>`.
> request used a security parameter (e.g., anti-replay, anti-csrf) with
> insufficient entropy (minimum of 8 characters)"
> Kareem Diaa @kimooz Jun 07 16:41
> Kareem Diaa @kimooz Jun 07 16:41
> Hey there , I am getting this error when I try request an access token "The
> request used a security parameter (e.g., anti-replay, anti-csrf) with
> insufficient entropy (minimum of 8 characters)"
> Aeneas @arekkas Jun 07 16:41
> Aeneas @arekkas Jun 07 16:41
> @kimooz make sure state and nonce are set in your auth code url
> (http://hydra/oauth2/auth?client_id=...&nonce=THIS_NEEDS_TO_BE_SET&state=THIS_ALSO_NEEDS_TO_BE_SET
Expand All @@ -225,12 +225,12 @@ Check the logs using `docker logs <container-id>`.
## Refreshing tokens

> Kareem Diaa @kimooz 15:48
> Kareem Diaa @kimooz 15:48
> One last question if you don't mind from your experience do you think that
> saving the user access token in a session and validating it from the client on
> ever refresh does that make sense or not? using the introspect endpoint
> Aeneas @arekkas 15:51
> Aeneas @arekkas 15:51
> nah, simply write your http calls in a way that if a 401 or 403 occurs, the
> token is refreshed that's the easiest and cleanest
Expand All @@ -242,17 +242,16 @@ you to show the login UI.

## Where can I get documentation on running multiple instances of Hydra?

> @killa#7335 20190103 01:06
> @killa#7335 20190103 01:06
> My company is thinking about adopting Hydra. There is a performance benchmark
> including data at https://www.ory.sh/docs/next/performance/hydra and some
> information on how to scale hydra. Where can I get documentation on running
> multiple instances of Hydra?
> multiple instances of Hydra?
> Source: Discord/ory/general
Hydra scales according to 12 factor principles. Just add another instance with
the same config.
the same config.
Please check the documentation section for 12 factor principles for more
information: https://www.ory.sh/docs/ecosystem/cloud-native. There is also some
information on collecting statistics in the section on
[prometheus](https://github.com/prometheus) in the five minute tutorial:
https://www.ory.sh/docs/hydra/5min-tutorial
[prometheus](https://github.com/prometheus) in the [five minute tutorial](./5min-tutorial).
4 changes: 2 additions & 2 deletions docs/docs/sdk.md
Expand Up @@ -32,8 +32,8 @@ repositories:

We also provide more info for these SDKs:

- [Golang](sdk/go.md)
- [JavaScript](sdk/js.md)
- [Golang](sdk/g)
- [JavaScript](sdk/js)

Missing your programming language?
[Create an issue](https://github.com/ory/hydra/issues) and help us build, test
Expand Down

0 comments on commit 3838cdc

Please sign in to comment.