Authentication
POST /auth/v1/customer/search
Reference
Fiskil has a built-in authentication system where end users must enter a One Time Passcode (OTP) sent to their
email or phone (via SMS) in order to authenticate. To facilitate this process your resource server must implement
a Customer Search endpoint.
Used to identify the customer associated with the authenticated session.
Purpose:
Look up a user based on their email address provided during authentication.
Example response:
GET /auth/v1/customer/{customerId}
Reference
Once the customer is authenticated we also need some basic information about them to populate an ID token.
This is facilitated by the Customer Details endpoint.
Used to get customer identity details for issuing OpenID Connect ID Tokens.
Example response:
If you’re bringing your own identity provider you don’t need to implement the Customer Search or Customer Details endpoints. Your IdP will handle authentication.
Authorization
Once the end user is authenticated they must determine the terms of data sharing.- Accounts - which accounts data will be shared from
- Scope - which datasets from the chosen accounts will be shared
- Duration - how long the data will be shared for