The whole development at TGV-train speed, wonderful. I wonder if I missed one thing: to do the formal validation of the incoming access token, the Spring boot would need the public key of Keycloak's self signed certificate and use it to validate the signature of the access token .
I think both are fine. If you use third party libraries for oauth2, you should stick to those which are OpenID certified, they should be more reliable and trustworthy
in angular versions pre 17 you can configure it in app.module.ts, it does not matter if you configure it in standalone components or ngmodules. the code is the same.
I followed the steps you showed, but I got a 401 unauthorized error. I made sure to add the access token to the header. I think there is a problem in the backend but I really don't know how to fix it =((
I can just guess, 401 could mean that something in spring security chain is wrong or the token verifikation went wrong, maybe wrong token issuer URL or something.
Hi, I created a project with a 3D model of a drone. And I want to make buttons with text output on drone components, there are examples on sketchfab, but if I attach a link, the comment is deleted. I've been trying to do what I wanted for a long time, but it just doesn't work out. Can you help me?
hey Genka - what if I wanted to make that redirect when user hits some sign up/login button? Seems that my router goes crazy and redirect does not happen. EDIT. Got it to work with newer OIDC library - works like charm - will probably start using Keycloak from now on.
well done sir, it was clearly explained
Дай Боже тобі здоров'я і многих літ.
теж, прям те, що шукав)
The whole development at TGV-train speed, wonderful.
I wonder if I missed one thing: to do the formal validation of the incoming access token, the Spring boot would need the public key of Keycloak's self signed certificate and use it to validate the signature of the access token .
Danke dir fürs video! Very good 👍
Brilliant man, thanks!
Well done, thank you.
Thanks, it was great. Could you please make one more video with keycloak-js library?
❤ why do you prepend ROLE_ to the fullstack-developer role?
Just to distinguish the roles from other granted authorities.
@@heygenkahey that is not the reason brother 😅.spring boot default granted role always look prefif Role_ that why you convert it ok
absolute chad
Hello. Thanks for the helpful content. Does angular-oauth2-oidc support multiple identity providers?
Does not look like it does. In the config there is always only one token provider
thanks for this helpful tutorial. Is it possible to @RolesAllowed annotation instead of @PreAuthorize ?
It worked for me.
Should i use the key cloak library or oath oidc in angular
I think both are fine. If you use third party libraries for oauth2, you should stick to those which are OpenID certified, they should be more reliable and trustworthy
hey Genka does it affect the code if i create app.config.ts in angular 16.2
in angular versions pre 17 you can configure it in app.module.ts, it does not matter if you configure it in standalone components or ngmodules. the code is the same.
I followed the steps you showed, but I got a 401 unauthorized error. I made sure to add the access token to the header. I think there is a problem in the backend but I really don't know how to fix it =((
I can just guess, 401 could mean that something in spring security chain is wrong or the token verifikation went wrong, maybe wrong token issuer URL or something.
Hi, I created a project with a 3D model of a drone. And I want to make buttons with text output on drone components, there are examples on sketchfab, but if I attach a link, the comment is deleted. I've been trying to do what I wanted for a long time, but it just doesn't work out. Can you help me?
how do i give the sign up option? to add a new user?
hey Genka - what if I wanted to make that redirect when user hits some sign up/login button? Seems that my router goes crazy and redirect does not happen.
EDIT. Got it to work with newer OIDC library - works like charm - will probably start using Keycloak from now on.
i know this is an old comment, but can you tell me how did you do that?
Does this include the PCKE Flow?
according to the doc, yes it does manfredsteyer.github.io/angular-oauth2-oidc/docs/additional-documentation/code-flow-+-pcke.html
Hi genka, after i login it adds the state and the session state into the url (localhost:4200/dashboard?state=adfeDx how to fix this
amazing, many thanks