Comments (10)
Hi,
Opening api/v1/user
in a dedicated tab won't work, the XSRF token will be missing.
Please retry to sign in from a regular browser tab after clearing all cookies for the 2FAuth domain.
from 2fauth.
I cleared local storage, session storage, all cookies and cache in a regular browser tab. It's still not working. The login page is still blank.
from 2fauth.
As you indicated here https://github.com/Bubka/2FAuth/releases/tag/v5.0.3 I also set my ASSET_URL to my APP_URL. This didn't change anything
Did you clear the app cache? This can be done by running php artisan optimize:clear
in a terminal. (but not sure this can be done easily under yunohost). You can also manually delete the content of storage/framework/app/cache/data
from 2fauth.
I just did. It's easily possible in yunohost (just had to specify php version explicitly).
/var/www/2fauth# php8.2 artisan optimize:clear
INFO Clearing cached bootstrap files.
events ............................................................ 1ms DONE
views ............................................................. 4ms DONE
cache ............................................................. 1ms DONE
route ............................................................. 1ms DONE
config ............................................................ 1ms DONE
compiled .......................................................... 1ms DONE
Did "Empty cache and hard reload" and reloaded the page after it. Still, the same behavior. Page stays blank.
from 2fauth.
Having dev tools opened, when you load the 2FAuth page, what is the response code of the js assets requests? 200?
Also, do you have any mixed content
error in the console tab?
from 2fauth.
Here is a screenshot from my dev console. No mixed content. Don't mind the SSO thing. That's coming from yunohost.
from 2fauth.
I faced the same issue while updating the demo site to v5.1.0. Running php artisan optimize:clear
, clearing site data (using the Firefox feature Clear cookies and site data...) then refreshing the page using ctrl+F5 solved it.
Are you still stuck?
from 2fauth.
Since my rollback to version 5.0.3 I haven't tried again. Someone already tested it on the testing branch and confirmed that the update to version 5.1.0 works. So, presumably it's fixed, see YunoHost-Apps/2FAuth_ynh#60 (comment) . I will wait until version 5.1.0 is officially available in the YNH package on the master branch and report back then.
from 2fauth.
Just to give an update about this. I'm still running into this issue for update to 5.1.0, see my comment. However, there is still a PR which supposedly fixes this but it hasn't been merged yet. So, I will wait for it to be merged and report back.
from 2fauth.
Ok, with the merged PR the upgrade to version 5.1.1 worked. So, I'm closing this.
from 2fauth.
Related Issues (20)
- 403 Forbidden {message: "unauthorized"} HOT 3
- Install with Docker Compose : problem to connect/use database.sqlite HOT 5
- Add outgoing email testing from the UI HOT 1
- 2fauth + NGINX reverse proxy = 502 error HOT 1
- Mail Password Format HOT 1
- Secret Type Format
- "Check now" button is untranslatable HOT 1
- Add a route to clear cache from browser
- Add a "keep SSO registration enabled" setting HOT 1
- Cannot access database after upgrading v3 to v5 (self host to docker) --> No account found using this email. HOT 3
- app/Policies/OwnershipTrait contains a bug, i think HOT 9
- Add support for FreeOPT+ json exports HOT 1
- Can't decipher codes after updating to 5.1.0 HOT 17
- 5.1 SSO: Authentication via SSO rejected HOT 8
- Admin panel not working when using security device
- "Keep SSO registration enabled" is not saved
- Add pagination to /accounts page HOT 4
- Last admin can demote to user, leaving the instance administratorless
- Accounts visibility HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 2fauth.