Securing a Rest API using Custom OAuth2 Authorization Server - Part 1

Securing a Rest API using Custom OAuth2 Authorization Server - Part 1

Java Coding Assist

3 года назад

18,042 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@mayurbhalerao2110
@mayurbhalerao2110 - 17.08.2023 13:01

Thank you ma'am its very helpful to understand the OAuth.
Can you please tell what is the password you have put in Postman Basic Auth section for User , Util client?

Ответить
@santanubarik7704
@santanubarik7704 - 26.04.2023 15:50

Hi Madam, in this video which flow you have used for the development?
Type 1: Grant Type is Client Credentials
Type 2: Resource Owner Flow
Type 3: Refresh Token Flow
Type 4: OAuth 2.0 Authorization Flow

Ответить
@adityatattva9920
@adityatattva9920 - 16.04.2023 15:25

very very good Thanks alot

Ответить
@parthpatadiya8504
@parthpatadiya8504 - 02.02.2023 08:05

what is the password in authorization ?

Ответить
@arunkumararun6526
@arunkumararun6526 - 15.10.2022 14:51

I checked lot of videos but not understood. I really understood this video. Thank you very much for your great work

Ответить
@sagarmelmatti
@sagarmelmatti - 03.08.2022 13:45

I checked lot of videos and blogs , but this one is perfect and my serch ends here , grt work

Ответить
@lylephillips6456
@lylephillips6456 - 14.06.2022 17:45

Hello everyone...been trying to follow this. However all of my postman requests in returning unauthorized. The things is I cant even see what the problem is bc nothing is getting logged to console where the auth server is running. Does anyone have an idea where or how I can start debugging this. I will really appreciate any help at this point. Thank you very much

Ответить
@khushithakur8737
@khushithakur8737 - 14.05.2022 17:57

Will it work on latest Spring Boot version?

Could not hear audio from 9.50 for some time

Ответить
@kleatech6562
@kleatech6562 - 05.05.2022 20:34

This cloud oauth dependency is not in spring initializer again... i had to manually imput it in my pom but there is version confilct....

Ответить
@mohammedabdoaljabbar8749
@mohammedabdoaljabbar8749 - 29.04.2022 01:07

Thanks

Ответить
@majhe8162
@majhe8162 - 05.04.2022 09:04

far better explanatin than @Tech Primers , @CodeBuffer ..thanks mam for that

Ответить
@abluhem
@abluhem - 29.01.2022 14:56

good explanation

Ответить
@TV-wi1ex
@TV-wi1ex - 23.12.2021 09:41

What is the password for the client named user?

Ответить
@zubifnd
@zubifnd - 28.09.2021 16:30

Very good content

Ответить
@rmg6283
@rmg6283 - 29.08.2021 20:59

Content is too good. Little bit of pause between conversation will help in more grasping. Good work keep it up

Ответить
@vasimmansuri1573
@vasimmansuri1573 - 09.08.2021 16:31

Very nice explanation

Ответить
@ownmedia6598
@ownmedia6598 - 24.07.2021 18:57

it's a pin to pin explanation . this video will authorize for all your upcoming assists.

Ответить
@maddipatlamadhura4140
@maddipatlamadhura4140 - 11.07.2021 15:01

I have one request you copy and paste this code
@Override
public Collection<? extends GrantedAuthority> getAuthorities() {


List<GrantedAuthority> ga=new ArrayList<GrantedAuthority>();


ga.add(new SimpleGrantedAuthority("ROLE_"+this.user.getRoles().getRoleName().toUpperCase()));
this.user.getRoles().getPermissions().forEach(permission->{
ga.add(new SimpleGrantedAuthority(permission.getPermissionName().toUpperCase()));
});

// ga.forEach( a->System.out.println(a.getAuthority()));

return ga;
}

and explain in 2 lines,2 sec but code more than 3 lines. I can't understand. freshers can't understand if directly copy paste the code . if it step by step process means freshers can understand the code. The way of explanation is like people already well known about OAuth Spring security.
But initially slides excellent.

Ответить
@chandrasekhar5858
@chandrasekhar5858 - 17.02.2021 16:47

Please upload more videos on integrate oauth with microservices

Ответить
@chandrasekhar5858
@chandrasekhar5858 - 17.02.2021 16:24

Hello madam, explanation is too good, could you please share git link for code base

Ответить