website/docs: fix typos in passwordless setup guide (#10661)

* Update typos in passwordless setup guide

Some key words used in the setup are incorrect and caused confusion for me trying to setup passwordless flow.

User should pick Authentication from the "Designation" drop down when creating a flow.

Then the stage created should be "Authenticator Validation Stage", not Authentication.

Signed-off-by: adrsham <7330099+adrsham@users.noreply.github.com>

* ci: fix docker push

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* cache only when pushing

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* only attest when pushing image

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: adrsham <7330099+adrsham@users.noreply.github.com>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
adrsham
2024-07-28 08:00:40 -07:00
committed by GitHub
parent afbc79f274
commit eee06d527e
4 changed files with 9 additions and 7 deletions

View File

@ -7,7 +7,7 @@ from time import time
parser = configparser.ConfigParser()
parser.read(".bumpversion.cfg")
should_build = str(os.environ.get("DOCKER_USERNAME", None) is not None).lower()
should_build = str(len(os.environ.get("DOCKER_USERNAME", "")) > 0).lower()
branch_name = os.environ["GITHUB_REF"]
if os.environ.get("GITHUB_HEAD_REF", "") != "":

View File

@ -255,14 +255,15 @@ jobs:
build-args: |
GIT_BUILD_HASH=${{ steps.ev.outputs.sha }}
cache-from: type=registry,ref=ghcr.io/goauthentik/dev-server:buildcache
cache-to: type=registry,ref=ghcr.io/goauthentik/dev-server:buildcache,mode=max
cache-to: ${{ steps.ev.outputs.shouldBuild == 'true' && 'type=registry,ref=ghcr.io/goauthentik/dev-server:buildcache,mode=max' || '' }}
platforms: linux/${{ matrix.arch }}
- uses: actions/attest-build-provenance@v1
id: attest
if: ${{ steps.ev.outputs.shouldBuild == 'true' }}
with:
subject-name: ${{ steps.ev.outputs.imageNames }}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: ${{ steps.ev.outputs.shouldBuild == 'true' }}
push-to-registry: true
pr-comment:
needs:
- build

View File

@ -110,13 +110,14 @@ jobs:
platforms: linux/amd64,linux/arm64
context: .
cache-from: type=registry,ref=ghcr.io/goauthentik/dev-${{ matrix.type }}:buildcache
cache-to: type=registry,ref=ghcr.io/goauthentik/dev-${{ matrix.type }}:buildcache,mode=max
cache-to: ${{ steps.ev.outputs.shouldBuild == 'true' && 'type=registry,ref=ghcr.io/goauthentik/dev-${{ matrix.type }}:buildcache,mode=max' || '' }}
- uses: actions/attest-build-provenance@v1
id: attest
if: ${{ steps.ev.outputs.shouldBuild == 'true' }}
with:
subject-name: ${{ steps.ev.outputs.imageNames }}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: ${{ steps.ev.outputs.shouldBuild == 'true' }}
push-to-registry: true
build-binary:
timeout-minutes: 120
needs:

View File

@ -43,9 +43,9 @@ Firefox has some known issues regarding FIDO (see https://bugzilla.mozilla.org/s
Passwordless authentication currently only supports WebAuthn devices, like security keys and biometrics. For an alternate passwordless setup, see [Password stage](../password/index.md#passwordless-login), which supports other types.
To configure passwordless authentication, create a new Flow with the delegation set to _Authentication_.
To configure passwordless authentication, create a new Flow with the designation set to _Authentication_.
As first stage, add an _Authentication validation_ stage, with the WebAuthn device class allowed.
As first stage, add an _Authenticator validation_ stage, with the WebAuthn device class allowed.
After this stage you can bind any additional verification stages.
As final stage, bind a _User login_ stage.