question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Extensibility of security definitions?

See original GitHub issue

I’m dealing with cases where there are a lot of extended or custom authentication systems around. Various Active Directory scenarios are the most egregious example.

In looking how to represent this in our swagger docs, the security scheme object seems pretty hard-wired to basic, api key, and oauth 2. Is there an intended way to add new authentication types to the document, even if the downstream consumers won’t understand it directly? Or should I put:

    "type": "basic",
   "x-but-actually-it-is": "someCustomAuth"

or something along those lines? Is there a recommendation or pattern I can follow here?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:5
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

5reactions
ovrcommented, Jul 11, 2016

Any news on it? Latest comment 5 may in this issue, still waiting support for JWT

1reaction
webroncommented, Mar 3, 2017

Take a look at https://github.com/OAI/OpenAPI-Specification/blob/OpenAPI.next/versions/3.0.md#securitySchemeObject.

It supports extensions in general. Also, basic has been changed to http and the scheme was added. If you end up using bearer, for example, you can use that to describe JWT tokens.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Software Extensibility: Definition, Attributes and Techniques
Extensibility is the ability of the software system to allow and accept the significant extension of its capabilities without major rewriting of ......
Read more >
Extensibility - Wikipedia
Extensibility is a measure of the ability to extend a system and the level of effort required to implement the extension. Extensions can...
Read more >
Safety/Security and Extensibility/Scalability in Software ...
Security/safety and extensibility/scalability are two pairs of quality attributes that is of great importance in software architecture. This ...
Read more >
Extensibility in Business Intelligence Defined - NetSuite
Extensibility is the capacity to build on an existing business logic or data models to answer new and emerging questions. It's a concept...
Read more >
What is Extensibility? - Converged by Propel
In software engineering, extensibility is defined as “the quality of being designed to allow the addition of new capabilities or functionality.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found