I'm using WSO2 Identity with structure below:
Client -> My Web Application (/my-app) -> WSO2-is (this is private zone)
I created service provider on WSO2-is and config all of the necessary information (use OAuth2).
Client access /my-app/login?client-id=<CLIENT_ID>&redirect_uri=<REDIRECT_URI>&response_type=code...
Then will be submit username + password. My application catch the submit request, then send the request to WSO2-is endpoint: https://localhost:9443/oauth2/authorize.
How to init request with parameters to get authorization code directly?
I was referenced wso2-is documentation. The authorization code will be insert into a table IDN_OAUTH2_AUTHORIZATION_CODE
. With the authorization code, i gonna get access token from https://localhost:9443/oauth2/token endpoint.
I can get access token directly with oauth2/token endpoint by grant_type is password, but I'm only want to get access token by workflow description above
0
votes