kaleming

Results 14 comments of kaleming

Hi guys, Supposing I want to do the following: ![image](https://user-images.githubusercontent.com/51836477/114598802-b1e46800-9c68-11eb-9d83-96df74d80ced.png) Which informations vue should send to fastapi ? Do I need to use `oauth2_scheme` or just `keycloak_openid.decode_token` ? Using oauth2_scheme,...

Hi @pet1330, Thank you for your reply. In this example, which access type are you using on each keycloak client (backend and frontend) ? I have to create two client...

Hi @pet1330, thanks again. When I set `depends(oauth2_scheme )`, after filling client_id on /docs for bearer-only access type, it redirects to this message: ![image](https://user-images.githubusercontent.com/51836477/114757209-f425ac00-9d31-11eb-8699-f3cedaa0f1b1.png) Using confidential access type on backend,...

Hi @pet1330, it worked using a public (frontend) client ID. I was having a problem related to `origin has been blocked by CORS policy: No 'Access-Control-Allow-Origin'`, but it was also...

I got the same error. I followed your steps and it solved the first issue. However I still can't log in (_401 Unauthorized_). I have tried using my user and...

In my case, it doesn't work using the password I set in the $PASSWORD. How did you find out `ubuntu` as $USERNAME ?

In my case both `echo $USERNAME` and `echo $PASSWORD` seems correct, but I still get: ` "GET / HTTP/2.0" 401 ` I have tried to write the credetials directly on...

Unfortunately I still get the same - _401 Unauthorized_ message.

Hi @coltonbh, After some hours, it worked doing the following: 1- To create user:password pair, it's possible to use this command: `echo $(htpasswd -nb user password) | sed -e s/\\$/\\$\\$/g`...

Hi @coltonbh, I'm glad this approach worked for you too. I didn't have time to go further into this issue, I am not sure why either.