To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorAuthentication
Client applications need authentication before accessing APIs
- Scenarios
-
- Unauthenticated API access is forbidden
-
- Given
- client is not authenticated
- When
- client accepts JSON
- And
- client requests GET /api/*
- And
- client follows redirection
- Then
- response status should be 403
- And
-
response body should be JSON:
{ "status": "forbidden" }
- Authentication success
-
- When
- client requests POST /auth/developer/callback with form parameters: { name: 'Bob', email: '[email protected]' }
- Then
- response status should be 200
- And
-
response body should be JSON:
{ "status": "ok" }
- Authenticated API access success
-
- Given
- client is authenticated
- When
- client requests GET /api/*
- Then
- response status should be 200
Last published over 5 years ago by Bruno Le Hyaric.