diff --git a/docs/docs/guides/sign-in-with-github-google-facebook-linkedin.mdx b/docs/docs/guides/sign-in-with-github-google-facebook-linkedin.mdx index 56bd43ccdce..b1b9f56703f 100644 --- a/docs/docs/guides/sign-in-with-github-google-facebook-linkedin.mdx +++ b/docs/docs/guides/sign-in-with-github-google-facebook-linkedin.mdx @@ -16,6 +16,25 @@ Run the [Quickstart](../quickstart.mdx) with Docker Compose: $ make quickstart ``` +:::info + +It is very important to add the "session" hook to the after oidc registration +hooks. Otherwise your users need to use the login flow again to be able to get a +session. + +```yaml title="path/to/my/kratos/config.yml" +# $ kratos -c path/to/my/kratos/config.yml serve +selfservice: + flows: + registration: + after: + oidc: + hooks: + - hook: session +``` + +::: + ## GitHub