auth
auth copied to clipboard
Golang Authentication solution
I just imported this and trying login / logout etc. I get ``` failed to find template: auth/login ``` I'm using go1.11.1, deps installed with modules. I also tried installing...
dgrijalva/jwt-go v3.2.0 has a security issue CVE-2020-26160, a security patch does not exist and it is recommended to switch to golang-jwt. > jwt-go before 4.0.0-preview1 allows attackers to bypass intended...
## Problem Register an password account with no data.
I added jwt token to json response. Sample javascript client. ``` let response = fetch(protectedUrl, { headers: { Authentication: 'tokenxyz', ContentType: 'application/json', Accept: 'application/json', } }); ```
Hi guys, @raven-chen , Hope you are all well ! I created the website https://paper2code.com/ with the qor framework and I need to implement a more advanced restful api functions....
- [X] Fix Registration email not working #11 - [X] copy Pull request #14
fix: 1.can't custom send confirm handler 2.repeat render confirmation/new
When the provider is password,we will create the auth_identitys table using: ` gormDB.AutoMigrate(&auth_identity.AuthIdentity{})` If the variable authInfo declared as auth_identity.Basic,will cause ` if !tx.Model(context.Auth.AuthIdentityModel).Where(authInfo).Scan(&authInfo).RecordNotFound() { return nil, auth.ErrInvalidAccount }` error....