openware / barong

Barong auth server
https://www.openware.com
Apache License 2.0
139 stars 262 forks source link

no implicit conversion of nil into String #289

Closed top1st closed 6 years ago

top1st commented 6 years ago

when i confirm the signup email getting this error.

image

gfedorenko commented 6 years ago

Hello @top1st

The vault server is not running or was configured in a wrong way. Please, read this issue https://github.com/rubykube/barong/issues/252 You might find the answer there

top1st commented 6 years ago

@gfedorenko I have done your suggest but still getting same error

top1st commented 6 years ago

i used stable-version 1.5 image

gfedorenko commented 6 years ago

@top1st the error is not the same. You get "permission denied" from the vault server. We'll do a patch disabling 2fa if you don't have vault running and configured.

As for now, you can just replace this line with false and it should work

m-an commented 6 years ago

Hello, @top1st Vault server denies your connection to totp engine. You have probably forgot to pass your vault token to VAULT TOKEN env variable, or you have forgot to enable totp

top1st commented 6 years ago

Now all works but in dev mode the email not sent to my email address and phone sms not sending

image

I have tried to change email port to 25 to my smtp service but not works in case 1025 the mailcapture works but also did not get any email to me

The mail catcher seems have sent email but i cannot get in my email and sms

It seems problem in my config smtp and twilio config

image

/config/charts/barong/values.yaml

@gfedorenko could you give me instruction document? Where i can find it?

endofthepain commented 6 years ago

@top1st have u check secret.yml on config/ folder i setup my twillio api on there

gfedorenko commented 6 years ago

@top1st Barong uses Twillio to send sms. You need to set up Twillio account and update configs with your test or production credentials(id, token, phone number).

top1st commented 6 years ago

otpauth://totp/Barong:admin@barong.io?algorithm=SHA1&digits=6&issuer=Barong&period=30&secret=C33TWEKCFAKG4ADQVVWSEAX3I2IFGTUF I have enabled two factor auth when i click enable two factor auth link i can see this link what is this? image