Extensions: Support token access for remote repositories #121856

Closed
opened 2024-05-16 11:15:55 +02:00 by Dalai Felinto · 1 comment

The most conventional way is to use Authorization header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization with Bearer auth scheme https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication#bearer

Then blender should also expect to get 401 and/or 403 status code as a possible response (for a missing or an incorrect token), a good UX would be to inform the user about a problem and suggest to double-check the content of the stored secret.


Tasks:

  • Introduce a new "secret" per-repository property of type password.
  • Send to servers with the query.
  • Handle 401/403 errors with corrective actions.
The most conventional way is to use Authorization header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization with Bearer auth scheme https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication#bearer Then blender should also expect to get 401 and/or 403 status code as a possible response (for a missing or an incorrect token), a good UX would be to inform the user about a problem and suggest to double-check the content of the stored secret. --- Tasks: * Introduce a new "secret" per-repository property of type password. * Send to servers with the query. * Handle 401/403 errors with corrective actions.
Dalai Felinto added the
Type
To Do
label 2024-05-16 11:15:55 +02:00
Dalai Felinto added this to the Python API project 2024-05-16 11:15:56 +02:00
Campbell Barton self-assigned this 2024-05-16 13:32:16 +02:00
Author
Owner

Implemented on:

Implemented on: * 08df46d7cd555340a654af80fb1becf93cfa52bd * 171319d9efa8ae2d159533c0d485e5a0c2a9afc6
Blender Bot added the
Status
Archived
label 2024-06-03 09:42:59 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
1 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: blender/blender#121856
No description provided.