Skip to content

Ericbrehault/sc 15240/fix auth check on sync agent - #198

Merged
ebrehault merged 2 commits into
mainfrom
ericbrehault/sc-15240/fix-auth-check-on-sync-agent
Jul 31, 2026
Merged

ebrehault merged 2 commits into
mainfrom
ericbrehault/sc-15240/fix-auth-check-on-sync-agent

Conversation

@ebrehault

Copy link
Copy Markdown
Collaborator

No description provided.

@ebrehault
ebrehault force-pushed the ericbrehault/sc-15240/fix-auth-check-on-sync-agent branch from a46c15c to 930dd0e Compare July 31, 2026 14:55
nuclia.auth.authenticate({ access_token: token, refresh_token: '' });
const req = await firstValueFrom(
nuclia.rest.checkAuthorization(`/kb/${this.kb.knowledgeBox}/configure`).pipe(
nuclia.rest.checkAuthorization(`/api/authorizer/authorize/api/v1/kb/${this.kb.knowledgeBox}`).pipe(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it a real endpoint ?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, secret endpoint I got from David :)

@ebrehault
ebrehault merged commit d34dbf0 into main Jul 31, 2026
5 checks passed
@ebrehault
ebrehault deleted the ericbrehault/sc-15240/fix-auth-check-on-sync-agent branch July 31, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants