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

Simplify and make semantic way for form auth login submit config and usage #184

Closed
jeevatkm opened this issue May 19, 2018 · 1 comment

Comments

@jeevatkm
Copy link
Member

@jeevatkm jeevatkm commented May 19, 2018

The goal is to simplify and make it semantic way for form auth login submit config and usage.

Currently to make login submit flow to work, aah user have to manually have define/configure virtual route definition in routes.conf after configuring form auth scheme in security.conf

login_submit {
  path = "/login"
  method = "POST"
  controller = "VirtualFormController"
}

So v0.11.0 onwards -

  • aah would read the security.conf and configure the route and its flow automatically and
  • Getting form action URL via route name form_auth_login_submit__aah
    • Key format is <auth-scheme-name>_login_submit__aah
<form class="form-signin" method="post" action="{{ rurl . "form_auth_login_submit__aah" }}">
  • Implementation
  • Documentation update
@jeevatkm jeevatkm added this to the v0.11.0 Milestone milestone May 19, 2018
@jeevatkm jeevatkm self-assigned this May 19, 2018
@jeevatkm jeevatkm added this to v0.11.0 - Iteration in aah Roadmap via automation May 19, 2018
jeevatkm added a commit to go-aah/router that referenced this issue May 19, 2018
jeevatkm added a commit to go-aah/tools that referenced this issue May 19, 2018
jeevatkm added a commit that referenced this issue May 19, 2018
jeevatkm added a commit to go-aah/docs that referenced this issue May 20, 2018
@jeevatkm

This comment has been minimized.

Copy link
Member Author

@jeevatkm jeevatkm commented May 20, 2018

Documentation update is done 😄

@jeevatkm jeevatkm closed this May 20, 2018
aah Roadmap automation moved this from v0.11.0 - Iteration to v0.11.0 - Completed May 20, 2018
jeevatkm added a commit to go-aah/app-templates that referenced this issue Jul 4, 2018
@jeevatkm jeevatkm moved this from v0.11.0 - Completed to Released to Audience in aah Roadmap Jul 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
aah Roadmap
  
Released to Audience
1 participant
You can’t perform that action at this time.