Skip to content

Commit

Permalink
accessToken in remote client only for DEVICE_AUTH_MODE.X509
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrikMatiasko authored and jkralik committed Aug 29, 2023
1 parent e67040c commit c4224eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,9 @@ const RemoteClientsPage: FC<Props> = (props) => {
const contextValue = useMemo(
() => ({
unauthorizedCallback,
remoteClientAuthenticationMode: clientData.authenticationMode,
}),
[unauthorizedCallback]
[clientData.authenticationMode, unauthorizedCallback]
)

const getContent = useCallback(() => {
Expand All @@ -94,6 +95,7 @@ const RemoteClientsPage: FC<Props> = (props) => {
}

return <div />
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [wellKnownConfig])

if (error) {
Expand Down

0 comments on commit c4224eb

Please sign in to comment.