code215
code215
  • 41
  • 128 078
Essential Tip For Google Maps API
If you are working with the Google Maps Places API, you must specify which fields you want to be returned in the response. This video specifies how to do this correctly using the X-Goog-FieldMask HTTP Header.
#googlemaps #googlemapstutorial #python #pythonprogramming #pythontutorial #awslambda
Переглядів: 18

Відео

How To Deploy A Secure Containerized Load-Balanced Web Application To AWS Cloud From Scratch!
Переглядів 1473 місяці тому
This video describes how to deploy a Dockerized web application to the AWS Cloud. Services used here include Route53, AWS Certificate Manager, Elastic Container Registry, Application Load Balancer, Private and Public Subnets, AWS Fargate and Postgres in AWS RDS. #aws #springboot #postgres #docker #cloudwatch #route53 #loadbalancer 0:00 Intro to Architecture 1:36 Obtain Domain From Route53 2:07 ...
Using Amazon Bedrock and Amazon Kendra To Enhance Generative AI #ai #largelanguagemodels
Переглядів 2,1 тис.5 місяців тому
Adding context can make Large Language Models (LLMs) much smarter at a fraction of the cost of fine-tuning them. In this video, I will demonstrate how to use Retrieval-Augmented Generation (RAG) to optimize the output of LLMs. You'll see a simple example using AWS Kendra and AWS Bedrock to enhance LLM performance. #programming #ai #artificialintelligence #aws #machinelearning #largelanguagemode...
Spring Boot: Every Developer MUST Be Familiar With This Concept!
Переглядів 407 місяців тому
Spring Boot abstracts away a lot of its functionality and things "just work" out-of-the-box. Why is that? This video explains this key Spring Boot feature. #springboot #springboottutorial #coding #java #kotlin #webdevelopment
Best Practices For Structuring Your Spring Boot Code
Переглядів 407 місяців тому
Tips on how to structure your Spring Boot project #springboot #springboottutorial #java #kotlin
Spring Boot Testing part 5: Spying Spring Beans [Mockito]
Переглядів 369 місяців тому
Spring Boot Integration Test that uses Mockito's Spy feature to spy on Spring Beans. #docker #integrationtesting #springboot #springboottutorial #springboot #junit
Spring Boot Testing part 4: Mock JUnit Test
Переглядів 189 місяців тому
Spring Boot JUnit test that uses Mockito's Mock annotation. This is a continuation of ua-cam.com/video/hFXcIAqGm8I/v-deo.html #docker #integrationtesting #springboot #springboottutorial #springboot #junit Timestamps: 0:00 - Setup the class to mock 1:40 - MockitoExtension class notation 3:15 - Run the test
Spring Boot Testing part 3: MockBean
Переглядів 6810 місяців тому
Spring Boot integration test that uses Mockito's MockBean annotation. This is a continuation of ua-cam.com/video/3aQLFrJHXgU/v-deo.html #docker #integrationtesting #springboot #springboottutorial #spring Timestamps: 0:00 - MockBean intro 1:36 - Add MockBean annotation to test 2:41 - Run test 4:07 - When to use MockBean
Spring Boot Testing part 2: Integration Testing with Testcontainers
Переглядів 20910 місяців тому
In this video I demonstrate how to use the Spring application context together with a Postgres Testcontainer in Spring Boot integration tests. The Spring Boot application context is created using the SpringBootBest annotation which allows us to autowire beans in the test. TestContainers make it possible to use Docker containers in integration testing which is extremely beneficial because it all...
Spring Boot Testing part 1: Unit Test @SpringSourceDev
Переглядів 6810 місяців тому
How to run unit tests in your Spring Boot application using Junit. Timecodes: 0:00 - Intro 0:36 - Docker Compose and Dockerfile Walkthrough 2:21 - Create Unit Test and Run It #springboot #junit #docker #dockercompose
Deploy Keycloak to Production pt 2: Docker, NGINX, HTTPS and Infinispan Client/Server Architecture
Переглядів 3,4 тис.10 місяців тому
By default, Keycloak uses an embedded Infinispan cache. This video demonstrates how to run Keycloak with Infinispan using the client/server architecture instead. This means that we will have Infinispan servers in their own cluster in a separate JVM and Keycloak will store all the distributed caches in these remote Infinispan servers. @nginx_official @DockerInc @infinispan #keycloak #nginx #dock...
Deploy Keycloak to Production pt 1: Docker, NGINX, HTTPS
Переглядів 11 тис.Рік тому
How to productionize your Keycloak server and serve HTTPS requests via an NGINX reverse proxy. @nginx_official @DockerInc #keycloak #nginx #docker #dockercompose
Java API Client: Send Secure Elasticsearch HTTP Requests From Spring Boot Application @elastic
Переглядів 851Рік тому
Java API Client: Send Secure Elasticsearch HTTP Requests From Spring Boot Application @elastic
Secure Elasticsearch and Kibana 8.7.0 using Docker Compose
Переглядів 1,7 тис.Рік тому
Secure Elasticsearch and Kibana 8.7.0 using Docker Compose
Keycloak: Add ability to login using Github
Переглядів 1,4 тис.Рік тому
Keycloak: Add ability to login using Github
Add a JWT Claim to a Keycloak token
Переглядів 7 тис.Рік тому
Add a JWT Claim to a Keycloak token
Run Docker Compose App in IntelliJ IDEA
Переглядів 1,8 тис.Рік тому
Run Docker Compose App in IntelliJ IDEA
Configure HTTPS in NGINX for Keycloak Using Docker Compose
Переглядів 10 тис.Рік тому
Configure HTTPS in NGINX for Keycloak Using Docker Compose
Spring Boot + Angular: Create an Interactive WebSocket Application
Переглядів 7 тис.Рік тому
Spring Boot Angular: Create an Interactive WebSocket Application
PayPal Security Breach: Lessons Learned
Переглядів 22Рік тому
PayPal Security Breach: Lessons Learned
Quickly Customize Keycloak Using SPIs
Переглядів 7 тис.Рік тому
Quickly Customize Keycloak Using SPIs
Nifty Date Formatting Trick (Java/Kotlin) #java #kotlin
Переглядів 44Рік тому
Nifty Date Formatting Trick (Java/Kotlin) #java #kotlin
Keycloak Admin Console: Defining Your Password Policies
Переглядів 346Рік тому
Keycloak Admin Console: Defining Your Password Policies
Keycloak Admin Console: Quickly Add Remember Me and Forgot Password to Login Page
Переглядів 1,6 тис.Рік тому
Keycloak Admin Console: Quickly Add Remember Me and Forgot Password to Login Page
Keycloak: Add Registration Form in less than 2 minutes
Переглядів 4 тис.Рік тому
Keycloak: Add Registration Form in less than 2 minutes
Keycloak API in less than 15 minutes
Переглядів 9 тис.Рік тому
Keycloak API in less than 15 minutes
Keycloak Admin Console Tutorial
Переглядів 7 тис.Рік тому
Keycloak Admin Console Tutorial
Introduction to Elasticsearch
Переглядів 99Рік тому
Introduction to Elasticsearch
How to add TLS/HTTPS to Keycloak with Docker Compose
Переглядів 13 тис.Рік тому
How to add TLS/HTTPS to Keycloak with Docker Compose
IntelliJ IDEA Kotlin REPL
Переглядів 243Рік тому
IntelliJ IDEA Kotlin REPL

КОМЕНТАРІ

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

    thx for guide!

  • @VladL.-fk8er
    @VladL.-fk8er 22 дні тому

    Well done! Merci

  • @Ajmalkhalil-cx4gf
    @Ajmalkhalil-cx4gf Місяць тому

    Can you share the source code?

  • @bartomiej6824
    @bartomiej6824 Місяць тому

    Very good and very helpful video, thank you so much, you doing good work! Have a nice day!

  • @AminovJP
    @AminovJP Місяць тому

    i just discovered your channel, brother you are good at explaining obviously you are a kind person toward others because you care about the person watching your video to ensure he understands, you are awesome, it is very rare, please continue to post videos and share, i subscribed now, do not want to see a channel like this stopping

  • @vijayjangid8967
    @vijayjangid8967 Місяць тому

    Thanks you!

  • @Kitty-w6q7p
    @Kitty-w6q7p 2 місяці тому

    Hi! Thank for tutorial, and i have a question: lets assume i want to separate user and member entities so that user is keycloak user, stored in kc database, and member is an entity, which is managed by 'members' microservice of my backend project for example. User is used for authentication, and member is used for complex authorization at microservice side. Also, User has attribute 'member_id' to associate with a specific member. When user registers himself with registration form, keycloak should invoke 'members' microservice to create a member with name and surname specified in registration form. The obtained id of created member should be stored in 'member_id' attribute of keycloak user. This attribute will be put into access tokens so that microservice can implement any authorization process. I think it is possible to implement such logic with EventListenerProvider, but what if 'members' endpoint invokation fail? For example, it returned code 400 or 500. Obviously, in this case the whole registration process should fail and no user in KC should be stored, otherwise we have data inconsistency. How to solve this problem?

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

    please add the source code. And you have to show the project file structure also in the video. This will help a lot!

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

    Thank you. Is there a way to add a claim that has a list as it's value. And can this list be dynamic?

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

    This is great but as complex as this is we could really benefit from at least an example repository containing these configurations

  • @maneshipocrates2264
    @maneshipocrates2264 4 місяці тому

    Why are you using start-dev if its for production? Change it to start and see if it works.

    • @code-215
      @code-215 4 місяці тому

      Nowhere in my title did I say it's for production. There's a different production video in my channel

  • @code-215
    @code-215 4 місяці тому

    Full video: ua-cam.com/video/20jviu1Kcqk/v-deo.html

  • @francisoladosu9643
    @francisoladosu9643 4 місяці тому

    Hi, thanks for the video. Please is it possible to have access to those events in the java code and then maybe perform some operation based on the event type. In my case, when a User is registered, i want to call a createUserWallet method in my project. How do i go about it? Currently the logs only print in Docker, i need a way to access those values in the Java code. Thanks in anticipation.

    • @code-215
      @code-215 4 місяці тому

      Yes. When the event happens send a HTTP request to an endpoint in your project. That endpoint then calls createUserWallet

    • @francisoladosu9643
      @francisoladosu9643 4 місяці тому

      @@code-215 Thanks for your response. But I have tried this and it didn’t work. The issue I’m having is the the onEvent method isn’t getting triggered so all codes within it isn’t working. I tried printing the eventType to the console, nothing shows up, but for some reasons When I use docker logs <containerId> I see all the events in real-time. But it’s not being picked up in my onEvent method.

    • @code-215
      @code-215 4 місяці тому

      If you followed the steps in this tutorial it should work. I think you missed a step. Verify that you've added the SPI to Keycloak and saved it(as shown at 10:35). Make sure you've implemented the right classes and methods. The onEvent() you override should be the one with the AdminEvent parameter not Event parameter. Make sure your folder structure is correct. Verify that you have followed all the steps in this tutorial.

    • @Kitty-w6q7p
      @Kitty-w6q7p 2 місяці тому

      @@code-215 bro, but what about if createUserWaller fails? There is an uncosistency of data, when user is created within keycloak db, but wallet doesn't exist.

  • @code-215
    @code-215 4 місяці тому

    Thank you for watching this video. Please feel free to buy me a coffee www.buymeacoffee.com/Code215

  • @code-215
    @code-215 4 місяці тому

    Thank you for watching this video. Please feel free to buy me a coffee www.buymeacoffee.com/Code215

  • @code-215
    @code-215 4 місяці тому

    Thank you for watching this video. Please feel free to buy me a coffee www.buymeacoffee.com/Code215

  • @code-215
    @code-215 4 місяці тому

    Thank you for watching this video. Please feel free to buy me a coffee www.buymeacoffee.com/Code215

  • @MdAzimBabu-i8u
    @MdAzimBabu-i8u 5 місяців тому

    { "error": "unknown_error", "error_description": "For more on this error consult the server log at the debug level." } getting this when localhost:8080/admin/realms/school/users

  • @mugume
    @mugume 5 місяців тому

    Fantastic tutorials. Simple and easy to follow. Thank you @code-215

  • @mugume
    @mugume 5 місяців тому

    Fantastic tutorials. Simple and easy to follow. Thank you @code-215

  • @codingispassion6376
    @codingispassion6376 5 місяців тому

    Sir How can I add the resources in the keycloak user token payload? I have created the resources, scopes, policies and permissions in the keycloak now i want to add the resources according to the user roles in the user token. please ans

  • @lokeshn2988
    @lokeshn2988 5 місяців тому

    Hey , The video is great also please provide the git repo link that will be useful .

  • @kishorekumar329
    @kishorekumar329 5 місяців тому

    Thank you for the detailed installation video. Could you please share the Docker files as well? It would be a great help

  • @joesharp3580
    @joesharp3580 5 місяців тому

    So helpful!

  • @cpthermes3703
    @cpthermes3703 5 місяців тому

    hahaha there is no way it was this simple, great video

    • @code-215
      @code-215 5 місяців тому

      Simple indeed!

    • @TheMRUTYUNJAYROUT
      @TheMRUTYUNJAYROUT 5 місяців тому

      But how can I create a custom api.. registration a new user.. without any authentication?

  • @qaisarbaltabay
    @qaisarbaltabay 5 місяців тому

    Thank you!!!

    • @code-215
      @code-215 5 місяців тому

      Glad I could help!

  • @qaisarbaltabay
    @qaisarbaltabay 5 місяців тому

    tnks

    • @code-215
      @code-215 5 місяців тому

      Glad I could help!

  • @bluex217
    @bluex217 6 місяців тому

    Thank you! So since a Keycloak User is bound to a realm and not a client, am I correct in saying that you would just create this Client with only password credential type in your video for your backend say spring boot microservice in order for it to reach Keycloak's API endpoints , and then you create ANOTHER Keycloak client in the same realm which uses like authorization code grant flow or maybe PKCE enhanced, and that user will still exist under that client used for frontend -> keycloak login page -> redirect uri with auth code -> access token ???

  • @gandalfgrey91
    @gandalfgrey91 6 місяців тому

    not working for me; so frustrating. im on my mac trying to set it up on my remote linux server. i tried following your basic steps and also using haproxy. i either get content policy errors or redirect uri issues

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

      попробуйте отдебажить hostname.

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

      @@sergeyshvyrev969 no I can’t remember exactly the issue but it was something stupid and minor

  • @huynguyenquang4618
    @huynguyenquang4618 6 місяців тому

    Can you give me the git repository. Please !!!.

  • @huynguyenquang4618
    @huynguyenquang4618 6 місяців тому

    Can you give me the git repository. Please !!!

  • @AntonioCabralNumberOne
    @AntonioCabralNumberOne 6 місяців тому

    16:48 "I know it means like it's a bit confusing" is a favour to Keycloak. Thanks for the demo, it's been really helpful! Thank you so much!

    • @code-215
      @code-215 6 місяців тому

      😂 Glad it helped

  • @code-215
    @code-215 6 місяців тому

    Full video: ua-cam.com/video/3YqPa6hhwxw/v-deo.html

  • @saeidzangeneh9820
    @saeidzangeneh9820 6 місяців тому

    Thanks for sharing, is it possible to share configuration in a github repo🤔

  • @KauehMoreno
    @KauehMoreno 7 місяців тому

    In my case Im facing error of ERROR: class java.lang.String cannot be cast to class [B (java.lang.String and [B are in module java.base of loader 'bootstrap

  • @KauehMoreno
    @KauehMoreno 7 місяців тому

    Im my case it didn't work, I'm facing an error `ERROR: class java.lang.String cannot be cast to class [B (java.lang.String and [B are in module java.base of loader 'bootstrap`

    • @code-215
      @code-215 7 місяців тому

      1) What version of Keycloak and Infinispan are you using? 2) Where are you getting this error? In Keycloak or in Infinispan?

    • @kauehmoreno8967
      @kauehmoreno8967 7 місяців тому

      Thanks for replying me, Im using keycloak 24.0.2 with infinispan 14.0.27.Final. The error looks like to be on keycloak

    • @code-215
      @code-215 7 місяців тому

      It's hard to say what's wrong without more info. Is there a stacktrace?

    • @KauehMoreno
      @KauehMoreno 7 місяців тому

      @@code-215 I had to change marshalling type. For somereason using protostream (recommended one from infinspan) does not work, I also have tried with jboss-marshalling buit if fails to parse uuid and other things. So finally only java-object worked, but worked for specific models! No Im trying to include sessions and it's complaing about: java.lang.NoClassDefFoundError: │ │ org/keycloak/models/UserSessionModel$State java.lang.ClassNotFoundException: org.keycloak.models.UserSessionModel$State It's seens that infinispan does not has this model to unmarshal the data, however I have included all these jars as well as included the allow list on encoding of both "org.keycloak.*" and "java.util.*"

  • @srihariprasannajayaraman2227
    @srihariprasannajayaraman2227 7 місяців тому

    Does GC happens in keycloak frontend or in infinispan cache? IF GC happening in infinispan will it affect the frontend ?

    • @code-215
      @code-215 7 місяців тому

      Garbage Collection is done by the JVM so it will happen in the Infinispan servers

    • @srihariprasannajayaraman2227
      @srihariprasannajayaraman2227 7 місяців тому

      @@code-215 while doing so will frontend be affected ? if gc is happening on one infispan server, will the other server still work or will it affect the other server also? i m facing the issue in current embedded keycloak when GC is happening on one server the other server requests also stops working

  • @code-215
    @code-215 7 місяців тому

    Full video here: ua-cam.com/video/XlPmq06swH4/v-deo.html

  • @GradeFX
    @GradeFX 7 місяців тому

    Straight to the point and precise. Very helpful!

  • @olenamaksymiv7754
    @olenamaksymiv7754 7 місяців тому

    nice video, thank you

  • @dev4www
    @dev4www 7 місяців тому

    Thank you for sharing. It would be great if you could share the configuration via a Git repository 👍

  • @dankogulsoy
    @dankogulsoy 8 місяців тому

    nice work

  • @AntonioCabralNumberOne
    @AntonioCabralNumberOne 9 місяців тому

    Hi! Great work, nevertheless I'm having issues with a slight newer version of Keycloak, namely the 23.0.4 which has an almost identical UI as your version. In my case when I configure the client on the "Capability config" to have ON the Client Authentication and Authorization (and having only the "Service accounts roles" on by default), what happens is that the service-account-my-bogus-client user is not created (or at least doesn't show up in the user list). When I generate the JWT exists this: "preferred_username": "service-account-my-bogus-client". When I try to create manually that user Keycloak says that the user cannot be created as it exists already. Now I'm very confused as I have no idea how to configure that user to e.g. create a new user through the Keycloak's API. Any ideas? Keep up the excellent work, it's priceless what you've been posting for us!

    • @code-215
      @code-215 9 місяців тому

      Go to Clients -> <your client>. Click on the Service accounts roles tab and click on Assign role. In the dropdown select 'Filter by clients' and assign the 'manage-users' role to your client

    • @AntonioCabralNumberOne
      @AntonioCabralNumberOne 9 місяців тому

      @@code-215 Thank you so much!

  • @johnkim2093
    @johnkim2093 9 місяців тому

    Show gitrepo

  • @ployermomo3878
    @ployermomo3878 10 місяців тому

    Thank you guide. Did you have a Git with these files? If not maybe you can create one and upload your compose files for the demo, please? Thanks

  • @Rocky_000
    @Rocky_000 10 місяців тому

    Great tutorial! I was looking for a configuration for Postgres and Keycloak docker compose and that's exactly what I was looking for. I searched online and what I found until your video did not work for me. I don't know why. When I docker compose up, Keycloak container was alwasys exited. I could not figure out but this worked. I only watched part1 and part2. I will continue with the rest of it. Thank you so much!

  • @code-215
    @code-215 10 місяців тому

    Thank you for watching this video. Support the channel by buying me a coffee www.buymeacoffee.com/Code215

  • @code-215
    @code-215 10 місяців тому

    Thank you for watching this video. Support the channel by buying me a coffee www.buymeacoffee.com/Code215

  • @code-215
    @code-215 10 місяців тому

    Thank you for watching this video. Support the channel by buying me a coffee www.buymeacoffee.com/Code215

  • @code-215
    @code-215 10 місяців тому

    Thank you for watching this video. Support the channel by buying me a coffee www.buymeacoffee.com/Code215