Deze verifiëert het meegegeven bearer token. Door een specifieke extra middleware per endpoint kan dan aangegeven worden of deze enkel toegankelijk is voor leerlingen, leerkrachten of allebei.
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			465 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			465 B
		
	
	
	
		
			Text
		
	
	
	
	
	
DWENGO_PORT=3000
 | 
						|
DWENGO_DB_HOST=localhost
 | 
						|
DWENGO_DB_PORT=5431
 | 
						|
DWENGO_DB_USERNAME=postgres
 | 
						|
DWENGO_DB_PASSWORD=postgres
 | 
						|
DWENGO_DB_UPDATE=true
 | 
						|
 | 
						|
DWENGO_AUTH_STUDENT_URL=http://localhost:7080/realms/student
 | 
						|
DWENGO_AUTH_STUDENT_JWKS_ENDPOINT=http://localhost:7080/realms/student/protocol/openid-connect/certs
 | 
						|
DWENGO_AUTH_TEACHER_URL=http://localhost:7080/realms/teacher
 | 
						|
DWENGO_AUTH_TEACHER_JWKS_ENDPOINT=http://localhost:7080/realms/teacher/protocol/openid-connect/certs
 |