docs: scaffolder: improve docs to setup the RepoUrlPicker authentication

Signed-off-by: Maixmilian Ressel <maximiliandotressel@gmail.com>
This commit is contained in:
Maixmilian Ressel
2022-06-14 16:22:54 +02:00
parent c2f9527fe2
commit 85f2d90543
3 changed files with 22 additions and 1 deletions
@@ -397,6 +397,9 @@ There's also the ability to pass additional scopes when requesting the `oauth`
token from the user, which you can do on a per-provider basis, in case your
template can be published to multiple providers.
Note, that you will need to configure an [authentication provider](../../auth/index.md#configuring-authentication-providers), alongside the
[`ScmAuthApi`](../../auth/index.md#scaffolder-configuration-software-templates) for your source code management (scm) service to make this feature work.
### Accessing the signed-in users details
Sometimes when authoring templates, you'll want to access the user that is running the template, and get details from the profile or the users `Entity` in the Catalog.