Skip to content
Snippets Groups Projects

Trying to implement openid

Merged Thomas SAUVAGE requested to merge trying-to-implement-openid into main
Files
5
@@ -4,7 +4,7 @@ import { randomString } from 'App/Utils/random'
/** Login a user that is not using the CAS */
export const loginNotSigmaUser = async ({ request, response, auth }: HttpContextContract) => {
// TODO: Validate ?
// TODO: Validate
const username = request.input('username')
const password = request.input('password')
@@ -19,7 +19,7 @@ export const loginNotSigmaUser = async ({ request, response, auth }: HttpContext
/** Create a user that is not using the CAS */
export const createNotSigmaUser = async ({ request, response }: HttpContextContract) => {
// TODO: Validate ?
// TODO: Validate
const username = request.input('username')
const name = request.input('name')
Loading