Spring Boot + Swagger 3 (OpenAPI 3) + Security Example

Поділитися
Вставка
  • Опубліковано 27 жов 2024

КОМЕНТАРІ • 13

  • @ainigma100
    @ainigma100 2 роки тому +2

    Thank you for your video! How will swagger 3 work if we had a JWT Bearer token?

    • @cristhiandias52
      @cristhiandias52 2 роки тому +2

      @SecurityScheme(name = "Bearer Authentication", type = SecuritySchemeType.HTTP, bearerFormat = "JWT", scheme = "bearer")

    • @ainigma100
      @ainigma100 2 роки тому +1

      @@cristhiandias52 Thank you!

  • @BrunoHenrique-vd1ry
    @BrunoHenrique-vd1ry 3 місяці тому

    nice vídeo!!

    • @JavaInUse
      @JavaInUse  3 місяці тому

      glad could help :)

  • @hendisantika
    @hendisantika 2 роки тому +3

    What If We don't want to use HTTP Basic. But using username & password and the return is JWT and JWT is used to access the APIs? Thanks

    • @cristhiandias52
      @cristhiandias52 2 роки тому

      @SecurityScheme(name = "Bearer Authentication", type = SecuritySchemeType.HTTP, bearerFormat = "JWT", scheme = "bearer")

  • @pampadas9764
    @pampadas9764 2 роки тому

    I am using your second approach which is giving me a react login page. How to resolve that? I don't want login page directly swagger ui should come.

    • @VermaSumit_1
      @VermaSumit_1 20 днів тому

      bro did you solve it? getting the same problem ,I want to exclude the login page . im not using any in memory authentication so don't have anything to fill in that login form

  • @tuliomop
    @tuliomop Рік тому

    Thanks

  • @hygorsilvasouza1070
    @hygorsilvasouza1070 2 роки тому

    otimo conteudo !

  • @srinivasjava1932
    @srinivasjava1932 3 роки тому

    very nice

  • @amankumar-kt6cu
    @amankumar-kt6cu 3 роки тому

    Wahhhhhhhhhhh