Now, in this lecture, let's try to explore on how to get an access token from the key clocktower and
pass on that access token to the resource of what to get the proper response.
So in order to get an access token from the KIC Luxo, I should know what is the endpoint you are on
that I need to invoke against my cheak Luxo to get an access token.
So you're not to know all the endpoint duodenal supported by you are Kikla.
You can invoke rest API call for that.
You are a local host at last.
The Yelp's.
And what is the real name?
Dot.
Well, hyphen known slash openi reconfiguration.
If we invoke against this you are and you will get all the APIs supported by you are key Glock's, Glatzer.
And also it will give you what kind of grant types that support it.
Support operation called implicit refresh, token password, client credentials.
So all the details it will provide.
But we want to understand what is the endpoint you are told that we need to invoke in order to get an
access token in the claim to current credentials grant type for the same.
You can see there is a token endpoint.
So this is the endpoint to all that you harpic invoke.
So localhost, 880 arterials, what is the real name protocol?
Open.
It connects last token.
So we have to take this endpoint to order and paste it here.
It has to be a post to API invocation.
So here under Bardy, we have to pass clean, tidy Glines secret.
What is the scope and what is the grant type?
You're not Lineberry is the idea that we created in the key Glock's or what?
So if you go and see the claims available inside Quique log, we created an Landesbank EPA.
So this is the same name that you have to argue here.
And the claim secret, we can take it from the credentials space that we have here.
So I'm just copy pasting that claim.
Secret and scope is optionally since we are using open relativities and one more layer on top of what,
two framework.
By default, we can use open.
Similarly, we can use your email address scopes also.
So all these scopes how different different responsibility inside open Nilekani so open and scope will
do me and access token and ID token.
And I can mention more number scopes also separated by space likes space email space address.
So this yume open area scope details, email details and address details of the user.
And since we are using grant type of client underscore credentials where there is no user involved,
we have Pegu client underscore credentials.
So with all these details present inside the body in an encoded way, we can invoke the EPA after invoking
I'm getting invalidly client credentials.
The reason is we have given invalid client ID.
So the client I.D. is easy bank API.
So let's try to correct that also.
So with this now, I should get an access token ID token from the key Glock's hour.
So now we got a successful access token from the key clerk's over in the next lecture.
Let's try to pass this access token to the resource of Venera.
We are trying to invoke that my account API.
Thank you.
And I'll see you in that next lecture by.