swagger-ui icon indicating copy to clipboard operation
swagger-ui copied to clipboard

Authentication mechanism in swagger UI 3.0.13

Open siddamreddy opened this issue 9 years ago • 10 comments

When reporting an issue, please provide the following details:

  • swagger-ui version -3.0.13
  • Required Authentication mechanism in swagger UI 3.0.13

Currently I am using below Authentication for Swager 2.1.4. I need Authentication samples in swagger 3.0.13 version. please help on this. setAuthenticationToken(swagUI, token) { var auth1 = new SwaggerClient.ApiKeyAuthorization("x-ionapi-docrequest", "SWAGGER", "header"); swagUI.api.clientAuthorizations.add("x-ionapi-docrequest", auth1);

     var auth2 = new SwaggerClient.ApiKeyAuthorization("Authorization", "Bearer " + token, "header");
     swagUI.api.clientAuthorizations.add("Authorization", auth2);
 }

Regards Naga

siddamreddy avatar Jun 09 '17 08:06 siddamreddy

This is currently not supported in 3.x. There are numerous opened tickets about it already.

webron avatar Jun 09 '17 15:06 webron

Any idea when it will be implemented

siddamreddy avatar Jun 09 '17 15:06 siddamreddy

We're working on it, no ETA.

webron avatar Jun 09 '17 16:06 webron

Approximately how many days it will take so that I convey same to my manager I have close this requirement ASAP

On Jun 9, 2017 9:31 PM, "Ron" [email protected] wrote:

We're working on it, no ETA.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/swagger-api/swagger-ui/issues/3215#issuecomment-307429560, or mute the thread https://github.com/notifications/unsubscribe-auth/AX18zM05HdXXhmidhI2NHo9Bgdt9egNxks5sCWxwgaJpZM4N1Eqg .

siddamreddy avatar Jun 09 '17 16:06 siddamreddy

I don't have an answer to that.

webron avatar Jun 09 '17 16:06 webron

Any rough estimate

On Jun 9, 2017 9:34 PM, "Ron" [email protected] wrote:

I don't have an answer to that.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/swagger-api/swagger-ui/issues/3215#issuecomment-307430277, or mute the thread https://github.com/notifications/unsubscribe-auth/AX18zNSL1znJr7e1RqUF1pWbVwcp3gkAks5sCW0XgaJpZM4N1Eqg .

siddamreddy avatar Jun 09 '17 16:06 siddamreddy

No.

webron avatar Jun 09 '17 16:06 webron

Any update

siddamreddy avatar Jun 16 '17 18:06 siddamreddy

We'll update when we have an update.

webron avatar Jun 16 '17 19:06 webron

any update on this

siddamreddy avatar Jul 19 '17 13:07 siddamreddy