 ab2299ba1e
			
		
	
	ab2299ba1e
	
	
	
		
			
			* initial cached ldap bind support Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * add web Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * add docs Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * clean up api generation Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * use gh action for golangci-lint Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
		
			
				
	
	
		
			24 lines
		
	
	
		
			988 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			988 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ---
 | |
| title: Making schema changes
 | |
| ---
 | |
| 
 | |
| Some backend changes might require new/different fields or remove other fields. To create a new schema after changing a Serializer, run `make gen-build`.
 | |
| 
 | |
| This will update the `schema.yml` file in the root of the repository.
 | |
| 
 | |
| ## Building the Go Client
 | |
| 
 | |
| The Go client is used by the Outpost to communicate with the backend authentik server. To build the go client, run `make gen-outpost`.
 | |
| 
 | |
| The generated files are stored in `/api` in the root of the repository.
 | |
| 
 | |
| ## Building the Web Client
 | |
| 
 | |
| The web client is used by the web-interface and web-FlowExecutor to communicate with authentik. To build the client, run `make gen-client-web`.
 | |
| 
 | |
| Since the client is normally distributed as an npm package, running `make gen-client-web` will overwrite the locally installed client with the newly built one.
 | |
| 
 | |
| :::warning
 | |
| Running `npm i` in the `/web` folder after using `make gen-client-web` will overwrite the custom client and revert to the upstream client.
 | |
| :::
 |