We provide a number of examples for implmenting the Fablabs.io auth and integrating the API into your website.
Checkout the full examples repository on Github:
Trying out the examples
In order to use any of these examples you need an Application ID and Secret as described in the Developer Guide.
All examples run on port 3001, so make sure to specify http://localhost:3001/auth/callback as the redirect URL.
Once you have the credentials, you should set the following environment variables before running the examples
export FABLABS_IO_API_KEY='your key' export FABLABS_IO_API_SECRET='your secret'
If you use a local server:
If you use the staging server
If you use the production server