Comments (7)
@kirito41dd hey
pls are you using Hoppscotch as a self-Host?
from hoppscotch.
@CharkiAbdelillah yes,I use the docker all-in-one method in the official documentation to deploy.
from hoppscotch.
@kirito41dd i use the same method but still facing a problem in the admin UI can you help me pls?
from hoppscotch.
- I used config
ENABLE_SUBPATH_BASED_ACCESS=true
, and some related configuration changes - I changed the code for http env
--- a/packages/hoppscotch-backend/src/auth/helper.ts
+++ b/packages/hoppscotch-backend/src/auth/helper.ts
@@ -62,13 +62,13 @@ export const authCookieHandler = (
res.cookie(AuthTokenType.ACCESS_TOKEN, authTokens.access_token, {
httpOnly: true,
- secure: true,
+ secure: false,
sameSite: 'lax',
maxAge: accessTokenValidity,
});
res.cookie(AuthTokenType.REFRESH_TOKEN, authTokens.refresh_token, {
httpOnly: true,
- secure: true,
+ secure: false,
sameSite: 'lax',
maxAge: refreshTokenValidity,
});
That's all
from hoppscotch.
thanks @kirito41dd for your reply
but even i did secure: false, when im trying to login to admin dashboard through github it redirects me to the same page of login!
from hoppscotch.
@kirito41dd By the way im working locally
from hoppscotch.
@CharkiAbdelillah Debug the oauth process, check 302 location is right.
It's OT to discuss this topic here.
May be you can find help in Discussions
from hoppscotch.
Related Issues (20)
- [bug]: Desktop App not working for MacOs (cookies, cross-site-tracking) HOT 5
- [bug]: Google OAuth Login Error - Invalid Client ID in Docker Setup HOT 2
- [bug]: Pasting a long base64 string will freeze the interface
- [feature]: Automatically focus on renaming HOT 1
- [bug]: forbidden by avira
- [bug]: Tried to initialize service with no container (ID: LICENSING_SERVICE) HOT 2
- [feature]: Run Collection To Test All API's HOT 1
- [bug]: Searching in a long request body,slide to the end,the body below is blank.
- [bug]: Code generation not working HOT 2
- annoying "Set as variable" popup on any text highlight HOT 3
- Option/setting to change the sidebar position. HOT 3
- [bug]: how set default content type,
- [bug]: Interceptor not saving selected option HOT 3
- [feature]: configurable banner for announcements / news for Selfhosted
- [feature]: Record the day of the last login
- [feature]: API for user management
- [feature]: audience support for OAuth2.0 client credentials HOT 1
- [bug]: incorrect multipart/form-data body HOT 1
- [bug]: Lost all saved data after recent update HOT 6
- [feature]: Use jq instead of JSONPath for filtering JSON 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 hoppscotch.