Comments (4)
For layout, there is a configurable similar to loginView
called loginLayout
. Likewise, you can configure registerLayout
.
To pass locals to a template, you can configure loginLocals
and registerLocals
. This locals object literal will get passed to the render call, if you are using express.
Redirect if the user is already logged in should occur automatically.
from everyauth.
Redirect if already logged in when visiting the /login
route doesn't seem to be working, at least with mongoose-auth
?
Can you try duplicating this error on your end?
from everyauth.
Are everyauth or mongoose internally tied to jade? Was thinking of swapping out jade for another engine in express - maybe node-jqtpl. Paging through the everyauth/mongoose libraries there seem to be several dependencies on jade - in package.json and in several routes that refer to 'new.jade' and other wiring in the login/reg workflow. Know docs say, in theory, that this can be used with other template engines, but does it actually work without jade there or registered in express (you can only pick one, correct?). Sorry if this is a noob question.
from everyauth.
I'm sure you can use everyauth
with jqtpl
, ejs
, eco
, or any other templating engine you'd like! Read the docs per whichever templating engine you'd like to use, and then incorporate it where necessary. If you need help with a particular engine, say jqtpl
, then post your code using a gist in a new issue and we'll help you in the right direction.
from everyauth.
Related Issues (20)
- Security vulnerability on Connect is present in Everyauth HOT 3
- Up version of request
- Don't lock dependencies to minor versions
- need email and name only from services HOT 1
- Error accessing github with oauth2. HOT 3
- everyauth with google authentication return [object Object] HOT 8
- Facebook GraphAPI HOT 2
- Facebook oauth issue
- i get an error on index.js file router._dispatch is undefined
- Passing redirectPath a function is broken on oauth2
- Broken link
- LDAP authentication flexibility
- Facebook Graph API v2.0 end deprecation window on Monday, August 8, 2016
- Your website is down HOT 3
- Can you use it for Google Authenticator?
- Roadmap to 0.4.10 HOT 1
- The Website link provided has been acquired HOT 1
- 😁 HOT 1
- Facebook password HOT 2
- Switch to OAuth 2 for OpenStreetMap provider
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 everyauth.