Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Commit

Permalink
feat(clients): remove obsolete generate-client.js script
Browse files Browse the repository at this point in the history
Closes #231
  • Loading branch information
seanmonstar committed Jun 2, 2015
1 parent 92edce9 commit 62ab0ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 138 deletions.
20 changes: 3 additions & 17 deletions docs/clients.md
Expand Up @@ -20,24 +20,10 @@ If you want to pre-approve your own web applications and prevent users in your a

### Creating the client id and secret keys

You can use the utility in `scripts/generate-client.js` to create new
ids and secrets.

```sh
./scripts/generate-client.js config/prod.json
```

The utility will ask for various inputs related to the client, and then
generate an id and secret and store them in the config file for you.

Then you can just start the OAuth server. The entry will be inserted automatically in your configured backend (i.e. database).

```sh
CONFIG_FILES=config/prod.json NODE_ENV=prod grunt server
```

Last step is to give informations about your OAuth resource server to your clients.
Use the [fxa-oauth-client][] CLI tool for registering new clients with
your server.

[fxa-oauth-client]: https://github.com/mozilla/fxa-oauth-client

### OAuth resource server (a.k.a. `fxa-oauth-server`)

Expand Down
121 changes: 0 additions & 121 deletions scripts/generate-client.js

This file was deleted.

0 comments on commit 62ab0ad

Please sign in to comment.