yunohost-apps / 2fauth_ynh Goto Github PK
View Code? Open in Web Editor NEW2FAuth package for YunoHost
Home Page: https://docs.2fauth.app/
License: GNU General Public License v3.0
2FAuth package for YunoHost
Home Page: https://docs.2fauth.app/
License: GNU General Public License v3.0
A clear and concise description of what the bug is.
I just hit the upgrade button in webadmin UI.
Upgrade should run successfully.
Matériel: Raspberry Pi à la maison
Version de YunoHost: 4.3.6.3 (stable).
J’ai accès à mon serveur : En SSH | Par la webadmin
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non
hi ... so, the code generation is now working ...
but still got another problem : i can't delete any account .
when i try, i got the confirmation popup, but when i click ok, nothing appen.
oppened an issue on the 2fauth github too ... the dev is very cool !
FR: Après l'installation dans un sous domaine (pas de problème), le réglage du nom d'utilisateur et du mot de passe, il n'est pas possible d'entrer dans l'administration. Je l'ai désinstallé et réinstallé Même problème. Et si j'essaie de réinitialiser le mot de passe, j'ai un message disant : An error occured : Cannot send message without a sender address
EN: After installation in a sub domain (no problem), setting username & password it's not possible to enter in the admin. I've disinstalled it and reinstalled it Same problem. And if I try to reset the passw, I've a message saying : An error occured: Cannot send message without a sender address
Upgraded the app from 4.2.3 to 5.0.2 using yunohostt CLI command interface with tools upgrade apps.
Can't log into the app, fails with json:
{
"message": "Undefined variable $userPreferences",
"exception": "Spatie\LaravelIgnition\Exceptions\ViewException",
"file": "/var/www/2fauth/resources/views/landing.blade.php",
"line": 2,
"trace": [
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php",
"line": 255,
"function": "handleError",
"class": "Illuminate\Foundation\Bootstrap\HandleExceptions",
"type": "->"
},
{
"file": "/var/www/2fauth/resources/views/landing.blade.php",
"line": 2,
"function": "Illuminate\Foundation\Bootstrap\{closure}",
"class": "Illuminate\Foundation\Bootstrap\HandleExceptions",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php",
"line": 124,
"function": "require"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php",
"line": 125,
"function": "Illuminate\Filesystem\{closure}",
"class": "Illuminate\Filesystem\Filesystem",
"type": "::"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php",
"line": 58,
"function": "getRequire",
"class": "Illuminate\Filesystem\Filesystem",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php",
"line": 72,
"function": "evaluatePath",
"class": "Illuminate\View\Engines\PhpEngine",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/View/View.php",
"line": 207,
"function": "get",
"class": "Illuminate\View\Engines\CompilerEngine",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/View/View.php",
"line": 190,
"function": "getContents",
"class": "Illuminate\View\View",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/View/View.php",
"line": 159,
"function": "renderContents",
"class": "Illuminate\View\View",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Http/Response.php",
"line": 69,
"function": "render",
"class": "Illuminate\View\View",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Http/Response.php",
"line": 35,
"function": "setContent",
"class": "Illuminate\Http\Response",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 918,
"function": "__construct",
"class": "Illuminate\Http\Response",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 885,
"function": "toResponse",
"class": "Illuminate\Routing\Router",
"type": "::"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 805,
"function": "prepareResponse",
"class": "Illuminate\Routing\Router",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 144,
"function": "Illuminate\Routing\{closure}",
"class": "Illuminate\Routing\Router",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/passport/src/Http/Middleware/CreateFreshApiToken.php",
"line": 63,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 183,
"function": "handle",
"class": "Laravel\Passport\Http\Middleware\CreateFreshApiToken",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php",
"line": 50,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 183,
"function": "handle",
"class": "Illuminate\Routing\Middleware\SubstituteBindings",
"type": "->"
},
{
"file": "/var/www/2fauth/app/Http/Middleware/SetLanguage.php",
"line": 68,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 183,
"function": "handle",
"class": "App\Http\Middleware\SetLanguage",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php",
"line": 78,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 183,
"function": "handle",
"class": "Illuminate\Foundation\Http\Middleware\VerifyCsrfToken",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php",
"line": 121,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php",
"line": 64,
"function": "handleStatefulRequest",
"class": "Illuminate\Session\Middleware\StartSession",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 183,
"function": "handle",
"class": "Illuminate\Session\Middleware\StartSession",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php",
"line": 37,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 183,
"function": "handle",
"class": "Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php",
"line": 67,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 183,
"function": "handle",
"class": "Illuminate\Cookie\Middleware\EncryptCookies",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 119,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 805,
"function": "then",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 784,
"function": "runRouteWithinStack",
"class": "Illuminate\Routing\Router",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 748,
"function": "runRoute",
"class": "Illuminate\Routing\Router",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
"line": 737,
"function": "dispatchToRoute",
"class": "Illuminate\Routing\Router",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
"line": 200,
"function": "dispatch",
"class": "Illuminate\Routing\Router",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 144,
"function": "Illuminate\Foundation\Http\{closure}",
"class": "Illuminate\Foundation\Http\Kernel",
"type": "->"
},
{
"file": "/var/www/2fauth/app/Http/Middleware/ForceJsonResponse.php",
"line": 19,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 183,
"function": "handle",
"class": "App\Http\Middleware\ForceJsonResponse",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
"line": 21,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php",
"line": 31,
"function": "handle",
"class": "Illuminate\Foundation\Http\Middleware\TransformsRequest",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 183,
"function": "handle",
"class": "Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
"line": 21,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php",
"line": 40,
"function": "handle",
"class": "Illuminate\Foundation\Http\Middleware\TransformsRequest",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 183,
"function": "handle",
"class": "Illuminate\Foundation\Http\Middleware\TrimStrings",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php",
"line": 27,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 183,
"function": "handle",
"class": "Illuminate\Foundation\Http\Middleware\ValidatePostSize",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php",
"line": 99,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 183,
"function": "handle",
"class": "Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php",
"line": 49,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 183,
"function": "handle",
"class": "Illuminate\Http\Middleware\HandleCors",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php",
"line": 39,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 183,
"function": "handle",
"class": "Illuminate\Http\Middleware\TrustProxies",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
"line": 119,
"function": "Illuminate\Pipeline\{closure}",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
"line": 175,
"function": "then",
"class": "Illuminate\Pipeline\Pipeline",
"type": "->"
},
{
"file": "/var/www/2fauth/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
"line": 144,
"function": "sendRequestThroughRouter",
"class": "Illuminate\Foundation\Http\Kernel",
"type": "->"
},
{
"file": "/var/www/2fauth/public/index.php",
"line": 51,
"function": "handle",
"class": "Illuminate\Foundation\Http\Kernel",
"type": "->"
}
]
}
For the next iteration of this application, would it be possible to set it up to install to the yunohost domain on path instead of its own domain? For example www.myyunoserver.com/2fauth
When I try to install 2FAuth, I get this error. It seems to be something regarding PHP, but I can't quite figure it out. Do I have to have php7.4 installed?
Try to install 2FAuth from the webadmin panel
After a fresh install, accessing the subdomain shows me the error 401 Authorization Required
See the login page.
No issues installing the app: https://paste.yunohost.org/raw/ebobokogat
After upgrading to version 5.0.4ynh1 from version 5.0.3ynh1 the 2FAuth page is blank (see screenshot). Also, there are a bunch of errors in the dev console.
I just hit the updgrade button in webadmin.
2FAuth version 5.0.4~ynh1 should display the page correctly.
Access to manifest at 'https://<YNH_DOMAIN>.com/yunohost/sso/?r=aHR0cHM6Ly9hdXRoLnVuc2Vlbi1ob3Jpem9ucy5jb20vbWFuaWZlc3QuanNvbg==' (redirected from 'https://<2FAUTH_DOMAIN>.com/manifest.json') from origin 'https://<2FAUTH_DOMAIN>.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
<YNH_DOMAIN>.com/yunohost/sso/
Failed to load resource: net::ERR_FAILED
2app-06176200.js:5 TypeError: Cannot read properties of null (reading 'nextSibling')
at nextSibling (app-06176200.js:1:53657)
at Ct (app-06176200.js:1:45292)
at Bt (app-06176200.js:1:45052)
at Re (app-06176200.js:1:44890)
at Gr (app-06176200.js:1:45406)
at Re (app-06176200.js:1:44680)
at v (app-06176200.js:1:37336)
at j (app-06176200.js:1:45811)
at mount (app-06176200.js:1:32548)
at Ym.t.mount (app-06176200.js:1:64591)
ue @ app-06176200.js:5
<2FAUTH_DOMAIN>.com/:1 Access to internal resource at 'https://<YNH_DOMAIN>.com/yunohost/sso/' (redirected from 'https://<2FAUTH_DOMAIN>.com/manifest.json') from origin 'https://<2FAUTH_DOMAIN>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Matériel: Raspberry Pi à la maison
Version de YunoHost: 4.3.6.3 (stable).
J’ai accès à mon serveur : En SSH | Par la webadmin
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non
got some strange errors ... when i create a new account, first, codes are good, but, when i accept the new accound codes gone bad ... the secret is wrong. when i manually correct the secred, code are good.
and i can't delete any account.
the 2fauth creator tell me it was designed to work with php 7.4, but when i look, it's configured to php 8.0
Can´t enroll webauth device (yubikey or windows FIDO)
sudo yunohost app install the_app
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.