Skip to content

Allow to provide access_token via env var #176

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

Closed
VaiTon opened this issue Apr 7, 2025 · 0 comments · Fixed by #179
Closed

Allow to provide access_token via env var #176

VaiTon opened this issue Apr 7, 2025 · 0 comments · Fixed by #179

Comments

@VaiTon
Copy link
Contributor

VaiTon commented Apr 7, 2025

Use case

I'd like to share my repo with the challenge authors, without giving them access to my personal CTFd token.

Proposed solution

The env var CTFD_TOKEN should be merged with the config before checking if it is set, so that I can either add the access_token to the config file or export the env var.

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 a pull request may close this issue.

1 participant