Authentication URL can be modified

Some OpenID Connect providers offer additional functionality by adding
query params to the authentication URL

For example with Azure Active Directory if you pass in
`&domain_hint=REALM` you can customise the way the login screen looks
with your corporate logo etc
isekai
Robbie Paul 8 years ago
parent b64fab27be
commit 69a431793f

@ -50,7 +50,7 @@ class OpenID_Connect_Generic_Client {
urlencode( $this->redirect_uri )
);
return $url;
return apply_filters( 'openid-connect-generic-auth-url', $url );
}
/**

@ -19,6 +19,7 @@ Notes
- openid-connect-generic-login-button-text - modify the login button text
- openid-connect-generic-user-login-test - (bool) should the user be logged in based on their claim
- openid-connect-generic-user-creation-test - (bool) should the user be created based on their claim
- openid-connect-generic-auth-url - modify the authentication url
Actions
- openid-connect-generic-user-create - 2 args: fires when a new user is created by this plugin

Loading…
Cancel
Save