Authentication FastAPI with Keycloak

First you need to create a realm and client, and get the client id and secret. Go to Keycloak configuration problems and solutions to see how to setup at Keycloak Admin Panel. 1 Install dependencies pip install python-jose[cryptography]>=3.3.0 pip install cryptography>=3.4.0 pip install PyJWT==2.10.1 Setu…

Keycloak configuration problems and solutions

22 Leave a Comment
400 Bad Request when login Please check your realm name, it should not include SPACE. How to get client secret You need to turn on Client authentication and Authorization at client Settings. Then you can see and copy the Client secret from the credentials tab. How to get Access token signature algorithm You wil…

ESXi 8 issue solved: This PC can’t run Windows 11

333 , Leave a Comment
To install Windows 11 on ESXi 8, the minimum requrements should meet. Summary is: 1+ GPU 4+ GB Memory 64+ GB Disk UEFI, Secure Boot capable TPM Graphics card (Optional, can install on ESXi 8 without this) Display (Optional, can install on ESXi 8 without this) The main reason causes this issue is TPM vSphere su…

How to download and license ESXi 8?

87 Leave a Comment
It is not easy to download ESXi 8 from Vmware official website. You must have visited Wmware's official website, but they only put a link to broadcom, and then they kept jumping around, and in the end you still couldn't find the correct download link. In this article, we will explain step by step how to downloa…

Get clicked word using pure Javascript

32 Leave a Comment
On browser, if we want to get the clicking word we can use following Javascript: var captureWordOnClick = function(containerEl, callback) { containerEl.addEventListener('click', function (event) { // Get the mouse position relative to the clicked element const x = event.clientX; const y = event.client…
Next Page »