Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for Digest authorization #4339

Merged
merged 21 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: resolve type errors
  • Loading branch information
jamesgeorge007 committed Oct 29, 2024
commit 0c3672e93d3b9445096a11f9675962e199884b6d
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@
{{
t("authorization.inherited_from", {
auth: getAuthName(
inheritedProperties.auth.inheritedAuth.authType
(inheritedProperties.auth.inheritedAuth as HoppGQLAuth)
.authType
),
collection: inheritedProperties?.auth.parentName,
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ import { useColorMode } from "@composables/theming"
import { useToast } from "@composables/toast"
import {
GQLHeader,
HoppGQLAuth,
HoppGQLRequest,
parseRawKeyValueEntriesE,
rawKeyValueEntriesToString,
Expand Down Expand Up @@ -675,7 +676,7 @@ const inheritedProperties = computedAsync(async () => {

const [computedAuthHeader] = await getComputedAuthHeaders(
request.value,
props.inheritedProperties.auth.inheritedAuth
props.inheritedProperties.auth.inheritedAuth as HoppGQLAuth
)

if (
Expand Down