mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-18 05:52:51 +00:00
<!-- Please inform yourself about the contribution guidelines on submitting a PR here: https://github.com/zitadel/zitadel/blob/main/CONTRIBUTING.md#submit-a-pull-request-pr. Take note of how PR/commit titles should be written and replace the template texts in the sections below. Don't remove any of the sections. It is important that the commit history clearly shows what is changed and why. Important: By submitting a contribution you agree to the terms from our Licensing Policy as described here: https://github.com/zitadel/zitadel/blob/main/LICENSING.md#community-contributions. --> # Which Problems Are Solved partially #9342 # How the Problems Are Solved Name custom domain consistently in the docs according to https://github.com/zitadel/zitadel/issues/5888 # Additional Changes # Additional Context
25 lines
673 B
Plaintext
25 lines
673 B
Plaintext
|
|
Now that you have successfully authenticated in the browser, you can update the session of the user.
|
|
Fill the webAuthN checks with the credential assertion data you get from the browser.
|
|
|
|
More detailed information about the API: [Update Session Documentation](/apis/resources/session_service_v2/session-service-set-session)
|
|
|
|
Example Request:
|
|
|
|
```bash
|
|
curl --request PATCH \
|
|
--url https://${CUSTOM_DOMAIN}/v2/sessions/218480890961985793 \
|
|
--header 'Accept: application/json' \
|
|
--header 'Authorization: Bearer '"$TOKEN"''\
|
|
--header 'Content-Type: application/json' \
|
|
--data '{
|
|
"checks": {
|
|
"webAuthN": {
|
|
"credentialAssertionData": {}
|
|
}
|
|
}
|
|
}'
|
|
```
|
|
|
|
|