How to use public access token on Locally Instance Extensions-Website #188

Closed
opened 2024-06-17 10:23:09 +02:00 by william · 2 comments

I've set up a local LAN server and am able to access and pull the list of addons fine.
How to use and configure public access keys or modify the source code?
interface.png

I've set up a local LAN server and am able to access and pull the list of addons fine. How to use and configure public access keys or modify the source code? ![interface.png](/attachments/da87fb9b-8d79-4328-9823-95892df01983)

Hi @Xi_Bo_Zhi, the extensions platform doesn't support access token access.

Right now the main listing has no restrictions whatsoever.

See ExtensionsAPIView permission_classes = [AllowAny]"

What are you trying to acchieve? One thing we thought would be welcome (as a PR contribution) is to allow users to create a favorite list, and be able to pass a UserToken (My Profile > Tokens) to restrict the listing in Blender to only the tokens from your profile.

Hi @Xi_Bo_Zhi, the extensions platform doesn't support access token access. Right now the main listing has no restrictions whatsoever. See `ExtensionsAPIView` `permission_classes = [AllowAny]"` What are you trying to acchieve? One thing we thought would be welcome (as a PR contribution) is to allow users to create a favorite list, and be able to pass a UserToken (My Profile > Tokens) to restrict the listing in Blender to only the tokens from your profile.
Author

I would like to create a simple access token, similar to a url access password, to restrict clients without the password from getting the list of addons from the url.
But it can still be downloaded and installed manually from the website page.

Thank you for your patience :)
based on your reply,I realized that this is designed for blender ID, the access code is not set for the entire url.
I'll have to try to modify the source code myself.

I would like to create a simple access token, similar to a url access password, to restrict clients without the password from getting the list of addons from the url. But it can still be downloaded and installed manually from the website page. Thank you for your patience :) based on your reply,I realized that this is designed for blender ID, the access code is not set for the entire url. I'll have to try to modify the source code myself.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: infrastructure/extensions-website#188
No description provided.