Forum Discussion

Ichigo's avatar
Ichigo
New Contributor
3 months ago
Solved

Support for Google Signin

Is there any way to use the Google sign-in button instead of the Authorize button on the OpenAPI specification file?   So after the successful signin,I want to set the header Authorization valu...
  • Humashankar's avatar
    3 months ago

    Hi Ichigo 

     

    No, the OpenAPI Specification (OAS) itself doesn't directly support integrating a Google Sign-in button or any specific social login provider. 
    OAS focuses on describing your API's functionality and how to interact with it.

    However, you can try other possibilities with Google Sign-in functionality alongside your OAS implementation

    Frontend Implementation:

    Use libraries like Google Sign-In JavaScript Library (https://developers.google.com/) to render a Google Sign-in button on your frontend.
    Upon successful sign-in, your frontend code retrieves the user's Google ID Token.

     

    Hope this helps - Happy to help further!!
    Thank you very much and have a great one!

    Warm regards