Тёмный

OAuth2 : MuleSoft as a OAuth Provider For Securing the MuleSoft Application | Client Credentials 

Mule Technology Academy - Zero To Hero
Подписаться 13 тыс.
Просмотров 35 тыс.
50% 1

Опубликовано:

 

3 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 56   
@ayanchoudhury8987
@ayanchoudhury8987 4 года назад
Very helpful video to learn oAuth in mule 4. Thanks for explaining in detail.
@muletechnologyacademy-zero5625
@muletechnologyacademy-zero5625 4 года назад
Thanks
@NidhiSharma-sq8oy
@NidhiSharma-sq8oy 4 года назад
great,,, very helpful to understand complete Oauth concept alongwith implementation...
@muletechnologyacademy-zero5625
@muletechnologyacademy-zero5625 4 года назад
Thanks
@shashikantpatel01
@shashikantpatel01 2 года назад
Hi Sir , Can you please add a video for grant_type = Authorization Code as well , not finding anywhere , please explain the concept in video itself , i mean a detailed video on that as how you usually do 😀 thanks in advance 😀😀
@snehareddy5330
@snehareddy5330 2 года назад
Hi Jitendra, thankyou very much for this informative session
@anu378
@anu378 3 года назад
Very helpful video sir. Thank you 😊
@nitishchauhan2289
@nitishchauhan2289 2 года назад
Very helpful. Thank you for explaining this topic.
@arunmittal7716
@arunmittal7716 4 года назад
Very well explained. Thanks
@prudhvibethamchrla7230
@prudhvibethamchrla7230 3 года назад
Can you please update video to cover, implementation for refresh_token scenario as well
@lokeshtalluri8432
@lokeshtalluri8432 4 года назад
If I publish my api to exchange and generate client credentials there, I want it to get stored in the client_os you showed in the video, can you please explain how this can be achieved. Thanks.
@shashikantpatel01
@shashikantpatel01 2 года назад
Need similar video on grant_type = Authorization Code please
@MarioScarfiglieri
@MarioScarfiglieri 3 месяца назад
is there a video to see how u set up the test-app-cloud?
@shashiranjanv
@shashiranjanv 3 месяца назад
Thannk you
@abhisheksolanki2241
@abhisheksolanki2241 Год назад
Very much informative video. Is there anyway I can store the token in DB table itself instead of putting in OS because OS is removed when node is down in RTF?
@ruchijain5603
@ruchijain5603 2 года назад
Hi Jitendra Bafna, Thanks for all your mule videos its very helpful . Question on this video from where did you get the client id and secret which you used to create client. Is it random unique id which is now serving as client credentials and stored in object store? And where is the token generated /token api?
@balajichowdary6186
@balajichowdary6186 Год назад
Hi there Ruchi as per My understanding, the client credetials are randomly given to store in the object store...and next thing in the global elements while creating and configuring the Oauth 2 provider will be confiured with token object store ....at that time by default listener configuration is created with the /token as its endpoint.....The same component now works for creating the client and generating the token as well....Hope u get it Ruchi Good Day
@rajchaudhary043
@rajchaudhary043 3 года назад
Hi Jitendra, very good informative video. One question, in real life scenario, is it recommended to have just one OAuth app(createclient, validate flow) deployed and let all CH Mule APIs use one common app for OAuth?
@sanjaydavey5
@sanjaydavey5 3 года назад
@jitendra Bafna. Excellent video sir. One clarification. So the token validation is happening through policy and we are hitting the okta end point. Okta has rate limiting right.will this validation be performed each time a call s made even though we have the token lifetime?
@saggawde1
@saggawde1 4 года назад
Thank you
@ravellavenkatsubbaiah4957
@ravellavenkatsubbaiah4957 Год назад
Bro some emergency doubt i have login api success which have validations of Oauth but after api success to reneder page with details from the frontend there are some api’s calling like device info and basic info those are getting token not valid issue though they dont have any validations in the flow any suggestions?
@sahilsharma3527
@sahilsharma3527 4 года назад
Object store life is for 30 days. Does that mean our client ids will get deleted after 30 days?
@shivangisingh2440
@shivangisingh2440 10 месяцев назад
I also have same question will our api's get deregister after 30 days ?? @sahilsharma3527 Let me know if u got any idea on this
@sunilmuki
@sunilmuki 4 года назад
I'm new the Mule, In API Manager what did u deployed? could you explain that steps.
@Truckito2007
@Truckito2007 4 года назад
If the Mule OAuth provider application is hosted on a few load-balanced servers with mule's hybrid approach, how can I ensure that the token gets successfully validated even if the gateway calls the instance that did not create the token? Is Object store shared across the servers on the environment?
@satishraodarmakkolla5398
@satishraodarmakkolla5398 4 года назад
@Jitendara - Thanks for the video. I have used you video as reference for setting Mule as Oauth2 provider. I have added the additional setting of Total ttl=120 and Token ttl timeout unit= Seconds. As per my expectation post 120 seconds the /validation endpoint should throw an error as the access_token issued is expired now. But its validating the token successfully and allowing me to access the resources on which I applied this policy. Can you help me how I can make sure my access_token is expired after 120 seconds
@lavanyamailz1
@lavanyamailz1 4 года назад
Same here, the token is not expiring ,, did you manage to fix it ?? Please reply
@lavanyamailz1
@lavanyamailz1 4 года назад
Did you fix it ?? Please reply , I am stuck with this
@MrPmmelvin
@MrPmmelvin 4 года назад
Hi Did you manage to fix the issue.
@lavanyamailz1
@lavanyamailz1 4 года назад
Melvin hey ya, I tired setting ttl 120 sec and expiration interval as 30 mins in token object store settings, as I made 30 mins expiration then the token is been removed in 30 mins and I get error message , but still i don’t get a message as token expired after 120 sec which I expect .
@satishraodarmakkolla5398
@satishraodarmakkolla5398 4 года назад
@@lavanyamailz1 it's a Bug, working with Mule support team. We have identified a workaround - keep a Choice router at the end of the flow based on Validate Token component response to be specific expires_in field. If its expired raise error otherwise send success response to client.
@monalikazamader5179
@monalikazamader5179 2 месяца назад
While hitting the /token endpoint , I am getting method not allowed for endpoint error, please help..
@shubhamthorat5757
@shubhamthorat5757 Месяц назад
You need to apply by POST
@suryaandey3611
@suryaandey3611 2 года назад
Hi Jitendra ,one doubt why claims are not available in Mulesoft provided token is there any way to get it.
@muletechnologyacademy-zero5625
@muletechnologyacademy-zero5625 2 года назад
I don’t think so.
@suryaandey3611
@suryaandey3611 2 года назад
@@muletechnologyacademy-zero5625 ohk I tried multiple ways but luck,, Thanks for information
@sekarbabu8733
@sekarbabu8733 3 года назад
will it not work with localhost url while apllying validate
@lavanyamailz1
@lavanyamailz1 4 года назад
Can you please reply ?? I just followed this video and My token is not expiring , I set ttl 120 sec and I manage to get success result back . Please reply I have a presentation to show this and I am stuck .,
@MrPmmelvin
@MrPmmelvin 4 года назад
Same for me. Can someone help on this issue
@lavanyamailz1
@lavanyamailz1 4 года назад
Melvin this works for me, ttl 120 seconds, expiration as 30 mins in token object store settings , try it . It worked for me
@MrPmmelvin
@MrPmmelvin 4 года назад
@@lavanyamailz1 Hi but this works only in local machine. When it is deployed to cloud hub the ttl is getting override to 86400seconds
@lavanyamailz1
@lavanyamailz1 4 года назад
Melvin did you tried giving token ttl 120 sec in oauth2 provider config ?? So I gave 120 sec in both places and it worked for me .. in oauth settings and in token object store
@ravithorwe1159
@ravithorwe1159 4 года назад
Hi Jitendra, Nicely explained Just want to knw when applied policy in api manager,do we need to give the correct client id and secret we get which we requested in portal.or it can b random client id? When i am using random client id,token is generated successfully but when hitting my service it is giving error "invalid client"
@muletechnologyacademy-zero5625
@muletechnologyacademy-zero5625 4 года назад
You need to provide correct client I’d and secret
@mahesh0815
@mahesh0815 2 года назад
Hi Jitendra, I have seen your video and practiced. But I am facing no access token was received. How to solve it?
@shubhamthorat5757
@shubhamthorat5757 Месяц назад
first at the endpoint give /token instead of your endpoint. with post then you get the token
@SatheeshkumarKaramala
@SatheeshkumarKaramala Год назад
Hi sir where do we get client id and client secrete?
@shubhamthorat5757
@shubhamthorat5757 Месяц назад
Its a random. but if you wants to generate it there are lots of algorithms.
@lovarajugudivada
@lovarajugudivada Год назад
Hi Jitendra, I have created exactly the same flow however my main service is not returning the error message when the token is not valid but i can see invalid token message in oauth provider service. so is there something that i am missing to declare in main service. your help will be appreciated.
@shubhamthorat5757
@shubhamthorat5757 Месяц назад
when your previous token gets expired then it show error
@waretejuwolf
@waretejuwolf 4 года назад
Hi, Do you have any video? explaining about the password grant type. I have been looking for it.
@muletechnologyacademy-zero5625
@muletechnologyacademy-zero5625 4 года назад
ru-vid.com/group/PL5GwZHHgKcuBMN5gITTz7uOIIleMTRopC
@lopintipriya3510
@lopintipriya3510 3 года назад
I have a doubt here, sorry i just started learning Mule and running into lot of confusions ,So .. Can someone tell me in the first Url, create client [10:06][ we are passing the client id and client secret , how did we get the values ,?] is that randomly we have given a key , secret and creating client with them or ..?
@06n21a0511
@06n21a0511 2 года назад
Did you get how these values are generated? I am assuming that these values are just created manually and used because there is no validation for these client id and secret.
@sheetalray6021
@sheetalray6021 2 года назад
Hi, I'm getting this error org.mule.runtime.core.internal.util.store.MuleObjectStoreManager: Running expiry on partition AuthorizationCodes of org.mule.runtime.core.internal.store.PartitionedPersistentObjectStore@59d3ab9c threw java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0:Index 0 out of bounds for length 0 Have anyone faced the same? If yes, how did you resolve?
Далее
One Way SSL for MuleSoft Application | API Security
13:55