Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement the Resource Owner Workflow #24

Closed
gregoryagu opened this issue Mar 26, 2017 · 3 comments
Closed

Implement the Resource Owner Workflow #24

gregoryagu opened this issue Mar 26, 2017 · 3 comments

Comments

@gregoryagu
Copy link

gregoryagu commented Mar 26, 2017

I really like this plugin.

However, the one thing that is not so good is that there is two complete downloads of Aurelia. First when the user starts the app, and then again, after the user logs in.

If the "Resource Owner Workflow" were used, then aurelia would get the username/password directly from the user and pass that to the server which would authenticate and pass it back. Then there is no redirect to an external site, and no second load.

I think this would be a huge improvement.

I am trying to get this going now for a site I am working on.

Or maybe there is a way to detect in main whether or not the user is logged in, and if not, then the user is immediately forwarded before Aurelia bootstraps.

@shaunluttin
Copy link
Collaborator

Thank you for the comment. I am planning on resuming work on this plugin later this year and will take your feature request into consideration.

@gerbendekker
Copy link
Contributor

See this issue on IdentityModel/oidc-client-js#234

@arnederuwe
Copy link
Collaborator

Unless oidc-client implements this, this isn't possible as this plugin wraps oidc-client.
There are strong arguments against using the Resource Owner Workflow, so I'm not sure if this will ever get implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants