Skip to content

Commit

Permalink
doc: replace all instances of c parameter with name in README
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Nov 2, 2023
1 parent a79625c commit 01f8636
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ The default option is that the NWC app creates a secret and the user uses the no

##### Query parameter options

- `c`: the name of the client app
- `name`: the name of the client app

Example:

`/apps/new?c=myapp`
`/apps/new?name=myapp`

#### Client created secret
If the client creates the secret the client only needs to share the public key of that secret for authorization. The user authorized that pubkey and no sensitivate data needs to be shared.
Expand All @@ -88,7 +88,7 @@ If the client creates the secret the client only needs to share the public key o

Example:

`/apps/new?c=myapp&pubkey=47c5a21...&return_to=https://example.com`
`/apps/new?name=myapp&pubkey=47c5a21...&return_to=https://example.com`

#### Web-flow: client created secret
Web clients can open a new prompt popup to load the authorization page.
Expand Down

0 comments on commit 01f8636

Please sign in to comment.