Here is the python code for server side login flow, but to proceed you will need to create a project on google developer console
- Redirect User to URL with view function google_openid_trigger , you can simply create an anchor tag in html with url pointing to above view function, and rest of the process will be handled by backend code.
- Set URL with view function google_auth_redirect as authorized redirect url in project created in google developer console. Here you may want to change user authentication, according to your application need.
Please feel free to discuss,
here is the django-python code. you will not need to import any third party social sign in module.
Angularjs validation messages requires you to
- Add lot of html markup
- Add validation rules to your html markup.
For simple, short forms this might be good but for big forms and regular use it will not fit. It makes html markup complex, making it hard for user to understand the form validation rules, change messages.
This jQuery validator plugin can be used in angular js(the angular way), here it is Angular jQuery Validator.
Please see the documentation for how to get started.
It makes validation task really easy and manageable.