Yes, sorry.  Swashbuckle and Swashbuckle.Core

On Monday, July 11, 2016 at 3:25:44 PM UTC-8, Ron wrote:
>
> The latest swagger-ui version is 2.1.4.
>
> Is that the version of Swashcubkle?
>
>  
>
>  
>
>  
>
> *From: *<[email protected] <javascript:>> on behalf of 
> Joshua Tester <[email protected] <javascript:>>
> *Reply-To: *"[email protected] <javascript:>" <
> [email protected] <javascript:>>
> *Date: *Monday, 11 July 2016 at 15:39
> *To: *Swagger <[email protected] <javascript:>>
> *Subject: *Re: OAuth 2 Implicit Flow on localhost
>
>  
>
> 5.3.2
>
> On Monday, July 11, 2016 at 1:17:35 PM UTC-8, Ron wrote: 
>
> I assume you’re talking about swagger-ui?
>
> Which version of swagger-ui do you use?
>
>  
>
>  
>
>  
>
> *From: *<[email protected]> on behalf of Joshua Tester <
> [email protected]>
> *Reply-To: *"[email protected]" <
> [email protected]>
> *Date: *Monday, 11 July 2016 at 12:57
> *To: *Swagger <[email protected]>
> *Subject: *OAuth 2 Implicit Flow on localhost
>
>  
>
> Good day, 
>
>  
>
> I am creating an Azure Web API application using .Net 4.6.1.
>
>  
>
> I have just a simple test controller that returns the string "success".  I 
> have followed the instructions here: 
> https://blogs.msdn.microsoft.com/pratushb/2016/04/28/enable-swagger-to-authenticate-against-azure-ad/
>  
> and I have successfully setup the OAuth2 bearer tokens on the PUBLISHED 
> azure web api site.
>
>  
>
> I have now tried to setup swagger, with the OAuth2 tokens from our AD 
> tenant, to work when debugging on my https://;ocalhost:44305.  I click the 
> 'On' button for the OAuth2 token and it goes to Azure AD and gets a token. 
>  But the token is apparently invalid and just keeps telling me I am not 
> authorized.  I did the exact same setup TWICE now and it continuously works 
> on the published Azure API site.  Localhost continues to deny me.  If I 
> remove the [Authorize] tags on the controller methods, it works fine.
>
>  
>
> Any thoughts, comments, questions are welcome.
>
>  
>
> Thank you for your time.
>
>  
>
> V/R
>
> J
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Swagger" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Swagger" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to