Documentation ¶
Overview ¶
* This application is an extension to iiitr-services/Server
Auth package implements authentication layer for user login.
Currently supported methods
- Google OAuth (for students)
This extension assumes these environment variables to be available (besides from main Server)
- GOOGLE_CLIENT_ID - For Google OAuth
- GOOGLE_CLIENT_SECRET - For Google OAuth
- DOMAIN - For cookie formation
- JWT_SIGNING_KEY - For JWT formation
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateJWTToken ¶
GenerateJWTToken generated a JWT for student authentication signed in from OAuth.
Types ¶
Click to show internal directories.
Click to hide internal directories.