Adding a "visitor" button #3143
-
Hi ! First of all thanks for this great project. For my very small self-hosted project, I would need to add a "visitor" button. Would some experts mind providing a little bit of guidance here ? I'm a beginner in Typescript and a little bit lost in the /server/routes/auth/providers codebase... Shall I use a passport.js strategy ? If yes, which one should I use as a basis ? If no, how and where could I build my little code ? Many thanks in advance for your kind help ! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I have found that there is a passport-req strategy, that seems to be quite in line with my need.
I can build the app without any problem. But for some reason I get an error when running :
Can an expert here give me some tips or an idea of where I should check for my mistake ? |
Beta Was this translation helpful? Give feedback.
-
For those who could be interested, here is a patch that is perfectly working for the need expressed above :
|
Beta Was this translation helpful? Give feedback.
-
Add Logo With Login Page Visitor app/components/AuthLogo/ReqLogo.tsx
Add to index.tsx
And in function AuthLogo
|
Beta Was this translation helpful? Give feedback.
For those who could be interested, here is a patch that is perfectly working for the need expressed above :
Patch to be applied on top of the v0.62.0 release tag.