You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@fineract.apache.org by Bharath Gowda <bg...@mifos.org> on 2020/10/30 18:00:02 UTC

2 Factor Authentication Help

Hello Everyone,

I am trying to build fineract war with 2FA enabled, but the build failed.
Have attached the screenshot below,
Any lead or help on how to enable and use the 2FA would be greatly
appreciated.


I found two commands to enable but both of them do not work

1.gradlew bootRun Ptwofactor=enabled
From API Doc here
<https://demo.fineract.dev/fineract-provider/api-docs/apiLive.htm#authentication_overview>

2.gradlew bootRun -psecurity=twofactor
From Dev list email thread

[image: image.png]

Regards,
Bharath
Lead Implementation Analyst | Mifos Initiative
Skype: live:cbharath4| Mobile: +91.7019635592
http://mifos.org  <http://facebook.com/mifos>
<http://www.twitter.com/mifos>

Re: 2 Factor Authentication Help

Posted by Bharath Gowda <bg...@mifos.org>.
Thank you Tesfahiwet, this command worked.
Regards,
Bharath
Lead Implementation Analyst | Mifos Initiative
Skype: live:cbharath4| Mobile: +91.7019635592
http://mifos.org  <http://facebook.com/mifos>
<http://www.twitter.com/mifos>


On Sat, Oct 31, 2020 at 11:13 PM Tesfahiwet Truneh <em...@gmail.com>
wrote:

> Hello Bharath.
>
> to build a fineract war & rar file with 2FA enabled. run * gradlew build *
> -Ptwofactor=enabled command. This is how it worked for me
>
> Regards
> Tesfahiwet Truneh
>
> On Sat, 31 Oct 2020 at 06:54, Saransh Sharma <sa...@muellners.org>
> wrote:
>
>> Seems like you need to pass
>>
>> basicauth,twofactor
>>
>> This is how it worked for me.
>>
>> On Fri, Oct 30, 2020 at 11:30 PM Bharath Gowda <bg...@mifos.org> wrote:
>>
>>> Hello Everyone,
>>>
>>> I am trying to build fineract war with 2FA enabled, but the build failed.
>>> Have attached the screenshot below,
>>> Any lead or help on how to enable and use the 2FA would be greatly
>>> appreciated.
>>>
>>>
>>> I found two commands to enable but both of them do not work
>>>
>>> 1.gradlew bootRun Ptwofactor=enabled
>>> From API Doc here
>>> <https://demo.fineract.dev/fineract-provider/api-docs/apiLive.htm#authentication_overview>
>>>
>>> 2.gradlew bootRun -psecurity=twofactor
>>> From Dev list email thread
>>>
>>> [image: image.png]
>>>
>>> Regards,
>>> Bharath
>>> Lead Implementation Analyst | Mifos Initiative
>>> Skype: live:cbharath4| Mobile: +91.7019635592
>>> http://mifos.org  <http://facebook.com/mifos>
>>> <http://www.twitter.com/mifos>
>>>
>>
>>
>> --
>> Thanks and regards,
>>
>> Saransh Sharma
>> Research Partner
>>
>> This mail is governed by Muellners®  IT policy.
>> The information contained in this e-mail and any accompanying documents
>> may contain information that is confidential or otherwise protected from
>> disclosure. If you are not the intended recipient of this message, or if
>> this message has been addressed to you in error, please immediately alert
>> the sender by reply e-mail and then delete this message, including any
>> attachments. Any dissemination, distribution or other use of the contents
>> of this message by anyone other than the intended recipient is strictly
>> prohibited. All messages sent to and from this e-mail address may be
>> monitored as permitted by applicable law and regulations to ensure
>> compliance with our internal policies and to protect our business. E-mails
>> are not secure and cannot be guaranteed to be error free as they can be
>> intercepted, amended, lost or destroyed, or contain viruses. You are deemed
>> to have accepted these risks if you communicate with us by e-mail.
>>
>

Re: 2 Factor Authentication Help

Posted by Tesfahiwet Truneh <em...@gmail.com>.
Hello Bharath.

to build a fineract war & rar file with 2FA enabled. run * gradlew build *
-Ptwofactor=enabled command. This is how it worked for me

Regards
Tesfahiwet Truneh

On Sat, 31 Oct 2020 at 06:54, Saransh Sharma <sa...@muellners.org> wrote:

> Seems like you need to pass
>
> basicauth,twofactor
>
> This is how it worked for me.
>
> On Fri, Oct 30, 2020 at 11:30 PM Bharath Gowda <bg...@mifos.org> wrote:
>
>> Hello Everyone,
>>
>> I am trying to build fineract war with 2FA enabled, but the build failed.
>> Have attached the screenshot below,
>> Any lead or help on how to enable and use the 2FA would be greatly
>> appreciated.
>>
>>
>> I found two commands to enable but both of them do not work
>>
>> 1.gradlew bootRun Ptwofactor=enabled
>> From API Doc here
>> <https://demo.fineract.dev/fineract-provider/api-docs/apiLive.htm#authentication_overview>
>>
>> 2.gradlew bootRun -psecurity=twofactor
>> From Dev list email thread
>>
>> [image: image.png]
>>
>> Regards,
>> Bharath
>> Lead Implementation Analyst | Mifos Initiative
>> Skype: live:cbharath4| Mobile: +91.7019635592
>> http://mifos.org  <http://facebook.com/mifos>
>> <http://www.twitter.com/mifos>
>>
>
>
> --
> Thanks and regards,
>
> Saransh Sharma
> Research Partner
>
> This mail is governed by Muellners®  IT policy.
> The information contained in this e-mail and any accompanying documents
> may contain information that is confidential or otherwise protected from
> disclosure. If you are not the intended recipient of this message, or if
> this message has been addressed to you in error, please immediately alert
> the sender by reply e-mail and then delete this message, including any
> attachments. Any dissemination, distribution or other use of the contents
> of this message by anyone other than the intended recipient is strictly
> prohibited. All messages sent to and from this e-mail address may be
> monitored as permitted by applicable law and regulations to ensure
> compliance with our internal policies and to protect our business. E-mails
> are not secure and cannot be guaranteed to be error free as they can be
> intercepted, amended, lost or destroyed, or contain viruses. You are deemed
> to have accepted these risks if you communicate with us by e-mail.
>

Re: 2 Factor Authentication Help

Posted by Saransh Sharma <sa...@muellners.org>.
Seems like you need to pass

basicauth,twofactor

This is how it worked for me.

On Fri, Oct 30, 2020 at 11:30 PM Bharath Gowda <bg...@mifos.org> wrote:

> Hello Everyone,
>
> I am trying to build fineract war with 2FA enabled, but the build failed.
> Have attached the screenshot below,
> Any lead or help on how to enable and use the 2FA would be greatly
> appreciated.
>
>
> I found two commands to enable but both of them do not work
>
> 1.gradlew bootRun Ptwofactor=enabled
> From API Doc here
> <https://demo.fineract.dev/fineract-provider/api-docs/apiLive.htm#authentication_overview>
>
> 2.gradlew bootRun -psecurity=twofactor
> From Dev list email thread
>
> [image: image.png]
>
> Regards,
> Bharath
> Lead Implementation Analyst | Mifos Initiative
> Skype: live:cbharath4| Mobile: +91.7019635592
> http://mifos.org  <http://facebook.com/mifos>
> <http://www.twitter.com/mifos>
>


-- 
Thanks and regards,

Saransh Sharma
Research Partner

This mail is governed by Muellners®  IT policy.
The information contained in this e-mail and any accompanying documents may
contain information that is confidential or otherwise protected from
disclosure. If you are not the intended recipient of this message, or if
this message has been addressed to you in error, please immediately alert
the sender by reply e-mail and then delete this message, including any
attachments. Any dissemination, distribution or other use of the contents
of this message by anyone other than the intended recipient is strictly
prohibited. All messages sent to and from this e-mail address may be
monitored as permitted by applicable law and regulations to ensure
compliance with our internal policies and to protect our business. E-mails
are not secure and cannot be guaranteed to be error free as they can be
intercepted, amended, lost or destroyed, or contain viruses. You are deemed
to have accepted these risks if you communicate with us by e-mail.