You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Default authentication is using HTTP Basic Auth. Oauth2 can be enabled by using <i>-Psecurity=oauth</i> option on gradle build command , refer
3931
3965
the platform setup <a href="https://github.com/openMF/mifosx/wiki/Launching-platform-server-locally-from-the-command-line#choosing-authentication-mechanism"> wiki</a> for additional details.
3932
3966
</p>
3967
+
<p>
3968
+
Optionally, two-factor authentication can be enabled by using
3969
+
<i>-Ptwofactor=enabled</i> on gradle build.
3970
+
Details of the authentication workflow with two-factor authentication enabled can be found <a href="#twofactor">here</a>.
3971
+
</p>
3933
3972
<p>
3934
3973
The platform has been configured to reject plain HTTP requests and
Two-Factor authentication is supported by requesting & verifying
4105
+
one-time passwords(OTP). OTPs are sent via SMS & email.
4106
+
</p>
4107
+
<p>
4108
+
By default, two-factor authentication is disabled by default.
4109
+
More information on how to enable TFA can be found <a href="#authentication_overview">here</a>.
4110
+
</p>
4111
+
<p>
4112
+
Two-factor authentication workflow:
4113
+
<ol class="normalli">
4114
+
<li class="normalli">User authticates via BasicAuth / oAauth</li>
4115
+
<li>Client requests a list of supported OTP delivery methods for the authenticated user(<a href="#twofactor_deliverymethods">Get Delivery Methods</a>)</li>
4116
+
<li>User selects an OTP delivery method and client sends a request for OTP(<a href="#twofactor_request">Request OTP</a>)</li>
4117
+
<li>User receives an OTP and the client sends it for verification(<a href="#twofactor_validate">Validate OTP</a>)</li>
4118
+
<li>If the OTP is valid, an access token is returned</li>
4119
+
<li>The access token is sent in following requestes to the server as a header <i>Fineract-Platform-TFA-Token</i></li>
4120
+
<li>On session end, the access token should be invalidated<a href="#twofactor_invalidate">Invalidate Access Token</a>)</li>
4121
+
</ol>
4122
+
</p>
4123
+
<p>
4124
+
Two-Factor authentication and delivery methods can be configured via
4125
+
the <a href="#twofactor_configure"<i>/twofactor/configure</i> endpoint.</a>
[group: 'org.apache.tika', name: 'tika-core', version :'1.9'],
105
105
// Although fineract (at the time of writing) doesn't have any compile time dep. on this,
106
106
// it's useful to have this for the Spring Boot TestRestTemplate http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#boot-features-rest-templates-test-utility
[group: 'org.apache.tika', name: 'tika-core', version :'1.9'],
104
104
// Although fineract (at the time of writing) doesn't have any compile time dep. on this,
105
105
// it's useful to have this for the Spring Boot TestRestTemplate http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#boot-features-rest-templates-test-utility
0 commit comments