An open API service indexing awesome lists of open source software.

https://github.com/marttp/20230514-rust-access-refresh-token

เรียน Rust Axum AuthN
https://github.com/marttp/20230514-rust-access-refresh-token

Last synced: about 1 year ago
JSON representation

เรียน Rust Axum AuthN

Awesome Lists containing this project

README

          

# Axum - Access Token/Refresh Token
Base on
* [Rust and Axum Framework: JWT Access and Refresh Tokens](https://codevoweb.com/rust-and-axum-jwt-access-and-refresh-tokens/)
* [Rust – How to Generate and Verify (JWTs) JSON Web Tokens](https://codevoweb.com/rust-how-to-generate-and-verify-jwts-json-web-tokens/)

## Generate RSA keys
```bash
openssl genrsa -out private_key.pem 4096
openssl rsa -in private_key.pem -pubout -out public_key.pem
```