Search Results :
×Set up single sign on with your custom Identity Provider is possible with our OAuth/OpenID Connect Single Sign On plugin.If you want your users to login to your WordPress site using your Identity Provider credentials it is possible with our plugin. You can SSO users to the WordPress site by using your Custom Provider credentials. Similarly, you can map your WordPress roles based on your Custom Provider attributes/groups. To know more about other features we provide in WP OAuth Client plugin, you can click here.
If your app doesn’t support standard OAuth/OIDC flow, please reach out to us oauthsupport@xecurify.com and we can provide a customized solution as per your use-case.
Client sends the authorization request with a set of query parameters throught the browser which redirect to authorize endpoint on authorization server. This is how sample request looks like
Standard OAuth 2.0 Request:
GET <authorization-endpoint>?
response_type=code
&client_id=<client_id>
&redirect_uri=<callback_url>
&scope=openid&state=<security_token>
Request:
GET https://authorization-server.com/oauth/authorize
?client_id=<client_id>
&response_type=<code>
&state=<state>
&redirect_uri=<redirect_uri>
&scope=<scope>
Response:
HTTP/1.1 302 Found
Location: https://custom-app.com/redirect?code=g0ZGZmNjVmOWI&state=dkZmYxMzE2
2. Token Endpoint: The token endpoint is the endpoint on the authorization server where the client application exchanges the authorization code, client ID and client secret, for an access token.Request:
GET https://authorization-server.com/oauth/token
grant_type=<grant_type>
&code=<code>
&redirect_uri=<redirect_uri>
Response:
HTTP/1.1 200 OK
Content-Type: application/json
{
"access_token":"MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3",
"token_type":"bearer",
"expires_in":3600,
"refresh_token":"IwOGYzYTlmM2YxOTQ5MGE3YmNmMDFkNTVk",
"scope":"create"
}
3. Userinfo Endpoint: Userinfo endpoint returns claims about authenticated end user.Request:
GET https://authorization-server.com/oauth/v1/userinfo
Header:
Authorization : Bearer < access_token / id_token >
Response:
HTTP/1.1 200 OK
Content-Type: application/json
{
"sub" : "248289761001",
"name" : "testuser"
"given_name" : "testuser",
"email" : "testuser@custom-app.com",
}
Standard OAuth Request | Custom OAuth Request |
|
|