Skip to content

Do not merge/hackathon 2025 #201

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

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft

Do not merge/hackathon 2025 #201

wants to merge 11 commits into from

Conversation

qbey
Copy link
Member

@qbey qbey commented Jun 2, 2025

Purpose

Provide a branch to allow simple developments during the hackathon.

⚠️ This code is unsafe to use in production ⚠️

Please note the authentication in this PR is global and not restricted to some endpoints. We strongly advise to not deploy this as it is.

Add user token authentication

Capture.video.du.2025-05-14.15-00-46.mp4

Use with curl -X GET "http://localhost:8071/api/v1.0/items/" -H "Authorization: Token <generated-token>"

lunika added 9 commits May 26, 2025 08:53
We expose now an external API. This external API can be used using a
resource server authentication. The urls are prefixed with
/external_api/v1.0 and for now the viewsets available are the Item and
ItemAccess.
The mozilla OIDCAuthentication backend was configured in the DRF
settings but not used. We have to remove it.
The external_api prefix must be managed by an ingress to use the correct
backend, the impress-backend one.
We need to publish a new version to add external-api route in the
ingress
@qbey qbey force-pushed the do-not-merge/hackathon-2025 branch from a3b2926 to b2522e2 Compare June 2, 2025 13:43
qbey added 2 commits June 3, 2025 10:12
This provides:
 - a frontend to allow user to create/delete User Token
 - the authentication process to allow any API to be called when
   authenticating with a User Token.
Publish the Docker images to deploy on a dedicated instance for the
Hackdays.
@qbey qbey force-pushed the do-not-merge/hackathon-2025 branch from b2522e2 to 4307b5d Compare June 3, 2025 08:12
@NathanVss
Copy link
Contributor

Can we close this PR as it seems only hackathon related?

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.

3 participants