Skip to content

Commit 8d7b39c

Browse files
Merge pull request mendix#9300 from mendix/kv-OIDC-Provider-constant
OIDC Provider: CustomRedirectLogicMicroflow update
2 parents 33cbf2c + a9b0e1b commit 8d7b39c

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

  • content/en/docs/appstore/use-content/platform-supported-content/services

content/en/docs/appstore/use-content/platform-supported-content/services/oidc-provider.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Certain OIDC Provider module versions are compatible with certain versions of St
2222

2323
| Mendix Version | OIDC Provider Version |
2424
| --- | --- |
25+
| 10.21.01 and above | 4.2.0 and above |
2526
| 10.12.10 and above | 4.0.0 and above |
2627
| 9.24.18 and above | 3.2.0 and above |
2728

@@ -100,7 +101,6 @@ The OIDC Provider has the following features and limitations:
100101
* The hybrid resource owner password credential is not supported, although the OIDC Provider may contain some (rudimentary) implementation to support it.
101102
* The OIDC Provider service ignores "email", "phone" and "profile" scope values (as specified by OIDC specs) when the client includes these in an authentication request. Instead, the OIDC Provider service will include user claims in an ID-token based on a custom microflow, regardless of the scopes in the request.
102103
* Front channel and back-channel logout are implemented as alpha features.
103-
* The module does not support `CustomRedirectLogicMicroflow` constant.
104104

105105
### Dependencies
106106

@@ -482,6 +482,18 @@ You need to configure the OIDC SSO module in your app which is using the IAM bro
482482
1. Login by entering credentials of the user which you have created earlier on OIDC provider Accounts section.
483483
You should be able to login successfully and get into the index.html page
484484

485+
## Using `CustomRedirectLogicMicroflow` Microflow
486+
487+
Use the constant `CustomRedirectLogicMicroflow` to specify which microflow determines where the user should be directed. This microflow has the following signatures:
488+
489+
**Input Parameter**: `username` (String) – The username of the user logging in.
490+
491+
**Return Value**: `Boolean` – Indicates whether the user should be sent to the client application or to the SSO provider application.
492+
493+
**True**: Direct the user to the client application (their original destination).
494+
495+
**False**: Direct the user to the SSO provider application.
496+
485497
## Token Formats for Non-Custom Claims
486498

487499
### Non-Custom Claims in Access Token

0 commit comments

Comments
 (0)