Comments (3)
Not sure how to do this. We cannot let any user select any account for authentication, right?
I think we definitely have to check the sub claim request and if it matches the authenticated user if we already have a session which is currently not done.
I am really not sure how the account selection could work. Maybe we would have to implement a username screen followed by a password screen and then store the subs which were successfully authenticated against in the session.
It would be "better" subjectively to have a single page with user and password login prompt and IF the user previously authetnticated with at least one other account we should display an account selection (and optional reauthentication) unless we have to enforce the "sub" request.
from omejdn-server.
As an idea, this is how Microsoft seems to handle this (determined by experiment):
They first have a page for the user to enter a uid (email, username,...), and afterwards have a second page to enter their password. But this way they are also able to automatically determine other providers and request tokens from there. For example, entering a mail adress ending in fraunhofer.de
, the user agent is automatically redirected to the Fraunhofer SSO page, with the email address already pre-entered.
Unrelated, one simple solution for us would be to deactivate the username input field when we have to reauthenticate a specific user. The account selection page is a good idea, though we will need to support multiple sessions in the first place to do this.
from omejdn-server.
Yes, maybe two screens do make sense. Then, we also do not have to deactivate the input field.
from omejdn-server.
Related Issues (20)
- Simpler Certificate File Names HOT 1
- Certificate Bound Access Tokens HOT 4
- Misleading documentation HOT 1
- Outputs are cached instead of written to stdout on Docker HOT 1
- Client Certificate Revocation Checks
- Warn or refuse to import invalid certificates HOT 2
- How to request an access token? HOT 4
- Respect `response_mode` in error responses
- Sanitize scopes in Session
- Show requested Claims to User
- Rethink Logouts HOT 1
- DAPS capability of holding one attribute HOT 5
- Logout URL formatting issue
- Bug in KEYS_LOAD_ALL event of DefaultKeysDB HOT 1
- Invalid request: Content longer than specified HOT 4
- Make `scope` optional in token request for `client_credentials` HOT 1
- Features and Specification HOT 2
- JWKS endpoint as a high risk resource of the entire dataspace HOT 1
- The ```resource_owner.attributes``` field used by ```filter_scopes``` is not a ```Hash```
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 omejdn-server.