Giter Club home page Giter Club logo

douitsu's People

Contributors

chico avatar gangleri avatar jmanoto avatar jonseymour avatar rjrodger avatar techknowlogick avatar theojulienne avatar wolfeidau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

douitsu's Issues

UI dirty indicator

When editing an Application or Account Profile put an asterix (*) next to the title to signify that the record is dirty and needs saving.

eg:

Clean: "Y O U R A C C O U N T"
Dirty: "Y O U R A C C O U N T * "

(We may change the visual indicator/style for this as long as the flag to turn it on and off is there)

Redirect goes to https when redirect_uri is http

After clicking on Allow on https://staging-id.ninja.is/dialog/authorize?response_type=code&redirect_uri=http://localhost:3001/auth/example-oauth2orize/callback&scope=email&client_id=123 the redirect goes to https://localhost:3001/auth/example-oauth2orize/callback?code=rfe3441zwwo2h4ir (i.e. https instead of http as defined in the redirect_uri param).

I'm not sure but as far as I can tell this is because nginx is configured to always redirect to https because /etc/nginx/conf.d/douitsu.con has the following:
proxy_redirect http:// https://;

Update the service to expose the UID of the user to OAuth2 clients

To alleviate the dependence on the email address, which can change we need an identifier an OAuth2 client can key on for a given profile.

At the moment the best candidate for this is the users UID.

Need to look into making this change here and then updating the cloud web application.

bug: update user details for new users fails

To reproduce this issue run:
$ mocha test/issue_8_update_user.test.js

To reproduce this issue in the browser:

This error also occurs if no fields are changed.

The logic in cmd_update_user in seneca-auth/lib/auth.js checks the uniqueness of user.nick before updating the user and this is where the error originates from.

Side effect: This error message also occurs if the email is changed to another existing user's email but that's because there's no validation check to see if that email exists already.

This bug can also be reproduced in https://github.com/rjrodger/seneca-mvp.

README needs to be revisited

I followed the instructions in the README.md and got stuck in a couple of places.

Firstly the gulp script runs through normally then just blocks without reporting why. I am guessing this is because it is in dev/watch mode. Either the default target should be changed or a new target added for build and the readme updated.

Either way it would be nice to know what it is doing..

Also need to add some notes on what ENV vars/config modes there are for dev or prod.

Just a list of what is expected would be nice.

Configuration seems a bit confusing

Some of the configuration seems to be related to customisation, and some to env related configuration.

First I would stop using LDAP_ENABLED as a var all over the place, people may want to disable signup if they are using MySQL login.

Second need provide an authoritative reference configuration with all the options along with comments on whether or not these can be over ruled by ENV vars or not.

Thirdly I would prefer if MySQL/LDAP/REDIS could be configured via env vars, then use configuration as a fallback.

Custom Login and Auth themes per app

How can custom themes (Frontend HTML/CSS/JS) be loaded per app.
ie: presenting different login/auth screens for each app. We can have a default theme but will need to customise certain apps for overall UX approach.

Updating/Removing User Profile and Application photos

Updating a User Profile photo or Application photo doesn't appear to work.
May need an uploading progress animation for user feedback.

Also, we need a way for users to remove their photo from their profile. Suggest a small remove button below the photo which simple removes it.

authorization flow for non logged in users

Authorization redirects to the login page when the user is not logged in.

Should the user be redirected back to the authorization page once they've logged in or should the authorization page offer a sign in form?

i18 & Themes

Some of the text copy needs to change when switching themes. Is it possible to include a custom locales folder in the theme specification?

gravatar

We need clarification on how gravatar should be integrated in the UI.

Persist App Access Token

If a user authenticates from an app and each time they log out of the app, douitsu requires the user to approve trust again. The trust should be persistent. (ie: only prompt user once)

Additionally, the 'Your Applications' sections should list the trusted access tokens and enable the user to revoke it.

screen shot 2014-03-05 at 11 51 10 am

internationalization: not working in chrome when 'Accept-Language' header is set to 'de' (german)

i18next detects the language by getting it from navigator.language as the client-side does not have access to request headers. This works fine when the language is changed in Firefox but not in Chrome.

If it's not enough to rely on the default language set by the browser then it should be possible to set the language in i18next after calling a JSON endpoint on the server that returns the language set in the 'Accept-Language' request header.

operational modes

one for user database owned by system => can create account
one for user database external => can't create account, only signin

validation

Form validation needs stronger validation. For example, check for valid emails and strong passwords.

Passport Profile empty

The profile returned to Passport is just an empty object.
It should be some details of the user record in douitsu.

Suggest:
{ nick, name, email, confirmed, image }

save session to redis

Session data (e.g. transactions by oauth2rize are saved in session) needs saving to redis otherwise app will not work across multiple instances.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.