An example of a modern Rust rocket application using OIDC for authentication/authorisation with SvelteKit for developing the frontend:
- backend - Contains the backend implemented in Rust Rocket
- frontend - Contains the frontend implemented in SvelteKit
You will find further documentation (e.g. building, configuring etc.) in the corresponding subfolders.
We also explain how you can integrate it with an OIDC IdP by using Codeberg.org as an identity provider.
This example project is supposed to be easily reused, so you can build your own complex application.
You can choose to either use EUPL-1.2 (Web) or Apache-2.0 (Web) license.
The code is available under:
- Codeberg (a non-commercial European hosted Git for Open Source): https://codeberg.org/ZuInnoTe/rust-rocket-svelte-example
We keep an active changelog (CHANGELOG.md) to keep track of all changes so that users are informed what changes in which version.
Find more information on contributing in CONTRIBUTING.md.
Find more information on the code of conduct in CODE_OF_CONDUCT.md
Find more information on security of the projects and how to report security issues in SECURITY.md.