Webapp application - dgoldie/trident GitHub Wiki
Description
Phoenix app:
- without ecto ?
- homepage -- don't think so.
- admin section -- nope
Client Resources
- configure host and endpoints for client apps
- load into agent/ETS (that way we can dynamically update)
Endpoints
- gateway? ... /gateway
- login -- login user
- signup -- create user
Processing (all done async)
- if session present, send whole request to Auth
- else send whole request to Directory.
Login
-
Need to support back concept Someone goes to page, but not authenticated, so redirected to login form. After we log the user in, we need to send user to original page.
Does login form submits to us?
...this means the user would have to update the client app. ...and we would need a home url. or we hijack the 'session/create' route. (rails lingo). In this case the user would configure this endpoint. ...I guess they would not have to implement ??
Signup
- similar issues, right?