Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
haskell-gargantext
haskell-gargantext
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 159
    • Issues 159
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 6
    • Merge Requests 6
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gargantext
  • haskell-gargantexthaskell-gargantext
  • Issues
  • #427

Closed
Open
Opened Nov 21, 2024 by Alfredo Di Napoli@AlfredoDiNapoli
  • Report abuse
  • New issue
Report abuse New issue

Swagger UI should send a `Bearer` keyword in the `Authorization` headers

While investigating !367 (merged) I have noticed that the Swaggger UI doesn't add the correct Bearer keyword necessary to send correctly-authenticated requests to the server:

Screenshot_2024-11-21_at_08.40.04

That Authorization header is wrong, it should have been:

Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJkYXQiOnsibm9kZV9pZCI6OCwidXNlcl9pZCI6Mn19.00H1X592VarTPrGhy4oelAJbjSRZw1tSs3ILC0w2CkUsAqSWiukmG3Z8Q4AlPTvyQACJkY_PrlOEjZ4SLC8zUw'

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: gargantext/haskell-gargantext#427