Skip to content

Use OIDC token to authenticate API calls #5614

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

Open
1 task done
Rob787 opened this issue May 16, 2025 · 0 comments
Open
1 task done

Use OIDC token to authenticate API calls #5614

Rob787 opened this issue May 16, 2025 · 0 comments

Comments

@Rob787
Copy link

Rob787 commented May 16, 2025

Describe the feature you'd like

Currently, Bookstack only supports native generated API tokens and/or basic authentication to authenticate API calls. In our case, we have Zitadel as SSO and as we'd like to integrate some content from Bookstack in one of our applications, we are having the challenge to fetch this content while respecting user roles in Bookstack.

The easy solution would be, if we can use the existing oidc access_token from Zitadel of the user, to authenticate the API call and thus respecting all security settings in Bookstack.

Describe the benefits this would bring to existing BookStack users

No additional auth to be set-up on Bookstack side for API calls when using SSO already to authenticate Bookstack.

Can the goal of this request already be achieved via other means?

No, only via service-user account with backend filtering after the API call is made.

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?

Not using yet, just scoping

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant