Open abdulk1 opened 4 months ago
The token
endpoint is usually called as part of the auth.signinRedirect()
flow.
Can you say more about what you're looking for? Do you need the access_token
? Or something else?
I believe I have the same or similar question.
Let's say we have a react frontend, an api backend (mine is .net core), and a keycloak server and I want to implement authorization code flow.
My understanding of how the flow should work is the following:
My knowledge of oauth/openid connect is pretty surface level. Isn't signinRedirect using more of a hybrid flow, which is less secure? Maybe I'm off base here. I'm trying to figure out how this should work.
@LethargicDeveloper - if you're using Authorization Code Grant with Proof Key for Code Exchange (PKCE) then this diagram may help with understanding the flow.
I have a React application integrated with this library. I can trigger the auth endpoint by calling signinRedirect. The redirect works. I can sign in and get redirected back to my app as expected.
Now I need to trigger the token endpoint but the documentation doesn't specify how to do that.