Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ target/
.env.test
.env.dev
.vscode
sites/
sites/
*.db*
4 changes: 4 additions & 0 deletions migrations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ Example:

### SQLite
```bash
# Create the database if it doesn't exist
sqlx database create --database-url sqlite://path/to/database.db

# Run migrations
sqlx migrate run --database-url sqlite://path/to/database.db --source migrations/sqlite
```

Expand Down
2 changes: 0 additions & 2 deletions src/storage/sqlite/oauth_request_storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ impl OAuthRequestRow {
oauth_state: self.oauth_state,
issuer: self.issuer,
authorization_server: self.authorization_server,
did: String::new(), // Empty string - field will be ignored
nonce: self.nonce,
pkce_verifier: self.pkce_verifier,
signing_public_key: self.signing_public_key,
Expand Down Expand Up @@ -193,7 +192,6 @@ mod tests {
oauth_state: "test-state-123".to_string(),
issuer: "https://pds.example.com".to_string(),
authorization_server: "https://pds.example.com".to_string(),
did: String::new(),
nonce: "test-nonce".to_string(),
pkce_verifier: "test-verifier".to_string(),
signing_public_key: "test-public-key".to_string(),
Expand Down
Loading