Federation
Access Token Consumer
Plugin: nevisadmin-plugin-oauth
This step generates an AccessTokenConsumer AuthState which
is able to validate access tokens issued by an OAuth 2.0 Authorization Server / OpenID Provider.
Use this step in the Initial Authentication Flow of a Authentication Realm
to provide a resource server for REST services.
The access token has to be sent as Bearer token in the Authorization header.
The content of the token will be stored in session variables prefixed with oauth2.token.claim..
The sub claim of the access token will be used as user ID for nevisAuth.
This is technically sufficient for authentication.
However, it is recommended to perform additional checks in subsequent steps.
For instance, you may use a nevisIDM User Lookup step to look up a user in nevisIDM.
When the access token is invalid a 403 forbidden will be returned.
This pattern is experimental and it has some limitations.
For instance, it is assumed that the authorization server is running Nevis and
is set up by a OAuth 2.0 Authorization Server / OpenID Provider pattern that is part of this project.
If you need improvements for this pattern, please create a feature request.
On Success
Assign a step to continue with after successfully validating the token.
On Missing Token
Assign a step to continue with when no token was sent.
If nothing is assigned then authentication will fail with an error.
OAuth 2.0 Authorization Server / OpenID Provider
Assign the OAuth 2.0 Authorization Server / OpenID Provider
which has issued the access token.
Note that this step works in combination with Nevis OAuth 2.0 Authorization Server / OpenID Provider
only and the other pattern has to be in the same project.
Apple Login Step
Plugin: nevisadmin-plugin-oauth
Setup social login, using Apple as OpenID Connect provider.
Client ID
ClientID is Identifier provided by Apple when you register Apple as IdP service.
Client Secret
The Client Secret is a JWT token generated by using a private key provided by Apple. Please follow the instructions here.
You can generate the client secret by yourself and configure it here, or upload the Private Key to generate the client secret automatically. Only private key or client secret can be use at the time
Return Path
The callback URI to go to after a successful login with Apple.
This will create an endpoint in your host config.
The URL will be a combination of the Frontend Address of the Virtual Host and the value configured here.
For example, let's assume that you have configured:
- Return Path:
/oidc/apple/ - Frontend Address:
https://nevis.net
Then the URL will be https://nevis.net/oidc/apple/.
Use the exact: prefix to use the given path as-is.
Without this prefix a normal mapping with /* will be generated and thus sub-paths will be accessible as well.
Scope(s)
Select the requested scopes for getting user information from Apple.
The default is email and thus minimal information will be returned.
The scope openid will always be added as Apple uses OpenID Connect.
Virtual Host
Assign a Virtual Host which shall serve as entry point for the callback from social login provider.
In case your host has
- 1 address, that address will be used
- many addresses with
- 1 https, and many http, the https will be used without warning
- mix between http and https, the 1st https will be used with warning
- single scheme (http or https only) the 1st address will be used with warning
E.g.
http://nevis.net
http://nevis-security.net
https://nevis.net
https://nevis-security.net
The https://nevis.net will be used as the host for Apple callback
On Success
The step executed after a successful authentication.
If no step is configured here the process ends with AUTH_DONE.
In case you change this to your custom step(s),
you can assign pattern Social Login Final Step as the last step of the Authentication process
to redirect back to original URL.
On Failure
The step that will be executed if the authentication fails.
If no step is configured here the process ends with AUTH_ERROR.
In case you change this to your custom step(s),
you can assign pattern Social Login Final Failure Step as the last step of the Authentication process
to redirect back to original URL.
Private Key
Private key provided by Apple. Find out more here.
If you upload your private key here and set the Issuer, the pattern will automatically generate the Client Secret.
If you do not want to configure your private key, you have to set the Client Secret instead.
Issuer
The issuer registered claim identifies the principal that issued the client secret.
Since the client secret belongs to your developer team, use your 10-character Team ID associated with your developer account.
Find out more here.
nevisIDM
Choose which nevisIDM instance you want to store the user's information after logged in with social login provider.
Client External ID
The ExtId of the client in nevisIDM that will be used to store the user
On User Not Found
Configure the authentication flow to be executed when no user was found and the email provided by social account does not exist.
The authentication flow must contain the Social Login Create User pattern if a new user shall be created.
Note: Please select scope email and profile for getting user's information from social account.
On User Found
Configure the Authentication Flow in case no user with Subject/ID from social account was found but email does exist in nevisIDM. The Authentication Flow must contain:
Social Login Link Userpattern to link an existing user in IDM with Subject/ID of social account.Social Login Doneto end the social login flow after some other action(s).
Note: Please select scope email and profile for getting user's information from social account.
Claims Request
The claims request parameter. This value is expected to be formatted in JSON and does not accept trailing spaces nor tabs.
User ID Field
Logged userId will automatically get from social account. But you can change the userId by using this field.
Additional Auth Request Parameters
Arbitrary additional request parameters used in the authentication request. The property supports variable substitution.
Example:
[paramName]=[paramValue]
Button Label
Enter the text that should be displayed for the end-user on the social login button, and provide translations for this label on the Authentication Realms.
Facebook Login Step
Plugin: nevisadmin-plugin-oauth
Set up social login, using Facebook as OpenID Connect provider.
Client ID
ClientID is App ID provided by Facebook when you register Facebook as IdP service.
Client Secret
Client Secret is App Secret provided by Facebook when you register Facebook as IdP service.
Return Path
The callback URI to go to after a successful login with Facebook.
This will create an endpoint in your host config.
The URL will be a combination of the Frontend Address of the Virtual Host and the value configured here.
For example, let's assume that you have configured:
- Return Path:
/oidc/facebook/ - Frontend Address:
https://nevis.net
Then the URL will be https://nevis.net/oidc/facebook/.
Use the exact: prefix to use the given path as-is.
Without this prefix a normal mapping with /* will be generated and thus sub-paths will be accessible as well.
Scope(s)
Select the request scopes for getting user information from Facebook.
The default is email and thus minimal information will be returned.
Select public_profile to return additional user information.
Scope offline_access is not supported as Facebook has removed this scope.
Virtual Host
Assign a Virtual Host which shall serve as entry point for the callback from social login provider.
In case your host has
- 1 address, that address will be used
- many addresses with
- 1 https, and many http, the https will be used without warning
- mix between http and https, the 1st https will be used with warning
- single scheme (http or https only) the 1st address will be used with warning
E.g.
http://nevis.net
http://nevis-security.net
https://nevis.net
https://nevis-security.net
The https://nevis.net will be used as the host for Apple callback
On Success
The step executed after a successful authentication.
If no step is configured here the process ends with AUTH_DONE.
In case you change this to your custom step(s),
you can assign pattern Social Login Final Step as the last step of the Authentication process
to redirect back to original URL.
On Failure
The step that will be executed if the authentication fails.
If no step is configured here the process ends with AUTH_ERROR.
In case you change this to your custom step(s),
you can assign pattern Social Login Final Failure Step as the last step of the Authentication process
to redirect back to original URL.
nevisIDM
Choose which nevisIDM instance you want to store the user's information after logged in with social login provider.
Client External ID
The ExtId of the client in nevisIDM that will be used to store the user
On User Not Found
Configure the authentication flow to be executed when no user was found and the email provided by social account does not exist.
The authentication flow must contain the Social Login Create User pattern if a new user shall be created.
Note: Please select scope email and profile for getting user's information from social account.
On User Found
Configure the Authentication Flow in case no user with Subject/ID from social account was found but email does exist in nevisIDM. The Authentication Flow must contain:
Social Login Link Userpattern to link an existing user in IDM with Subject/ID of social account.Social Login Doneto end the social login flow after some other action(s).
Note: Please select scope email and profile for getting user's information from social account.
Claims Request
The claims request parameter. This value is expected to be formatted in JSON and does not accept trailing spaces nor tabs.
User ID Field
Logged userId will automatically get from social account. But you can change the userId by using this field.
Additional Auth Request Parameters
Arbitrary additional request parameters used in the authentication request. The property supports variable substitution.
Example:
[paramName]=[paramValue]
Button Label
Enter the text that should be displayed for the end-user on the social login button, and provide translations for this label on the Authentication Realms.
Generic Social Login Step
Plugin: nevisadmin-plugin-oauth
Use to set up a generic social login, either using OAuth2 or OpenID Connect.
Provider Type
The provider type of the social account: either OpenID Connect or OAuth2.
Client ID
The identifier provided by the social account when you register with it as the IdP service.
Client Secret
The secret of the client ID that has been set in the OAuth/OpenID Connect configuration of the social account.
Return Path
The callback URI to go to after a successful login with the social account.
This will create an endpoint in your host config.
The URL will be a combination of the Frontend Address of the Virtual Host and the value configured here.
For example, let's assume that you have configured:
- Return Path:
/oidc/app/ - Frontend Address:
https://nevis.net
Then the URL will be https://nevis.net/oidc/app/.
Use the exact: prefix to use the given path as-is.
Without this prefix a normal mapping with /* will be generated and thus sub-paths will be accessible as well.
Scope(s)
The request scope(s) for getting the user information from the social account. The default value is email.
The scope openid will be added automatically if providerType is set to OpenID Connect.
Scope offline_access for generate refresh token.
Virtual Host
Assign a Virtual Host which shall serve as entry point for the callback from social login provider.
In case your host has
- 1 address, that address will be used
- many addresses with
- 1 https, and many http, the https will be used without warning
- mix between http and https, the 1st https will be used with warning
- single scheme (http or https only) the 1st address will be used with warning
E.g.
http://nevis.net
http://nevis-security.net
https://nevis.net
https://nevis-security.net
The https://nevis.net will be used as the host for Apple callback
On Success
The step executed after a successful authentication.
If no step is configured here the process ends with AUTH_DONE.
In case you change this to your custom step(s),
you can assign pattern Social Login Final Step as the last step of the Authentication process
to redirect back to original URL.
On Failure
The step that will be executed if the authentication fails.
If no step is configured here the process ends with AUTH_ERROR.
In case you change this to your custom step(s),
you can assign pattern Social Login Final Failure Step as the last step of the Authentication process
to redirect back to original URL.
Client Secret Method
The method used for authenticating the client. It can be either Basic Authentication or POST.
The default value is Basic Authentication.
Response Mode
The mode used for the responses of the server. It can be either Query or Form POST.
The default value is Query.
PKCE
Setting for PKCE in Authorization/Authentication request.
- enabled, the Code Challenge and Code Verifier will be included in the Authorization/Authentication request.
- disabled (default), the Code Challenge and Code Verifier will not be included in the Authorization/Authentication request.
PKCE Secret
Allow to set the secret for PKCE. The secret format should follow RFC 7636.
Code Challenge Method
Setting for PKCE Code Challenge Method.
- plain (default), the Code Challenge will be sent with raw format.
- S256, the Code Challenge will be hashed and base 64 encoded.
Provider Endpoint
The provider endpoint that contains the configuration of the OpenID Connect server.
It's required when providerType has the value OpenID Connect.
Authorization Endpoint
The authorization endpoint of the OAuth2 provider.
Required when Provider Type is set to OAuth2.
Token Endpoint
The token endpoint of the OAuth2 server.
It's required when providerType has the value OAuth2.
User Information Endpoint
The user information endpoint of the OAuth2 server.
It's required when providerType has the value OAuth2.
JWKS Endpoint
The JWKS endpoint of the OAuth2 server.
It's optional when Provider Type has the value OAuth2.
nevisIDM
Choose which nevisIDM instance you want to store the user's information after logged in with social login provider.
Client External ID
The ExtId of the client in nevisIDM that will be used to store the user.