Update:

I have found that the flow I need to use is the "application" flow based on 
this 
post: 
https://groups.google.com/forum/#!searchin/swagger-swaggersocket/oauth$20client_id/swagger-swaggersocket/WdMcNhTET_s/z2l_30irOgEJ

However, I still find that my generated clients have no mention of this, 
despite it being indicated here that codegen supports 
oauth: https://github.com/swagger-api/swagger-codegen/issues/347

On Wednesday, July 20, 2016 at 6:11:37 PM UTC-5, Ian Seyer wrote:
>
> Hi all.
>
> I have reverse- engineered a spec for an API currently in production, with 
> the goal of generating client-side SDKs.
>
> I have completed the spec, and all generated code seems solid, but I 
> cannot find any information (or generated code!) relating to OAuth. I see 
> no documentation on how one is supposed to configure or utilize security 
> definitions related to OAuth from within, say, a ruby SDK.
>
> Our current security flow is based on client_id and client_secret, but I 
> see no place to set these, or where to specify that they are supposed to 
> exist...
>
> The spec is visible here: github.com/ianseyer/knurld-swagger-spec
>
>
> Thank you in advance.
>

-- 
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