3. Grip SSO Option (Proprietary)
This document will highlight all process flow for two SSO scenarios when integrated and what you need to ask the clients for and also what you need to agree.
There are two scenarios that we will use for this SSO integration; Passthrough and Direct Login Flow.
Below is a quick overview of each process alongside an attached flow diagram.
Passthrough Login Flow:
- User-->Client Website: Signin
- Client Website-->Client SSO: Login on Client
- Client SSO-->Client Website: OK
- Client Website-->Client Website: Show Link to Grip Web with a user specific token e.g. "ABCDEFG"
- User-->Client Website: Click Link with that token in URL
- User-->Grip Web: Redirected to Grip Web
- Grip Web-->Grip API: Check token "ABCDEFG"
- Grip API-->Client SSO: Check token "ABCDEFG"
- Client SSO-->Grip API: Valid token for Reg ID "123456"
- Grip API-->Grip API: Login on Grip with Reg ID "123456"
- Grip API-->Grip Web: OK
- Grip Web-->User: Show Web Networking
Direct Login Flow
- User-->Grip Web: Login
- Grip Web-->Grip API: Login
- Grip API-->Client SSO: Login with email/password
- Client SSO-->Grip API: Valid token for Reg ID "123456"
- Grip API-->Grip API: Login on Grip with Reg ID "123456"
- Grip API-->Grip Web: OK
- Grip Web-->User: Show Web Networking
GRIP Requirements
Requirements for Passthrough:
Grip needs to be able to identify each user as well as the event the user is attempting to log in to.
- 1. Client and Grip need to agree on a new Grip Web Networking URL e.g. <xxxpass">https://matchmatching.grip.events/EVENTNAME/<XXXpass></xxxpass">
- 2. Client to decide what the token (this can be a token that is short lived) is and add it to Grip's web networking URL as a query parameter for successful sign in on Client Website
- 3. Client to inform Grip how we can check the validity of said token
- 4. Client to inform Grip which token matches which registration ID for their event
Requirements for Direct Login Flow:
Grip needs to be able to identify each user as well as the event the user is attempting to log in to.
- 1. Client to inform Grip how we can check the validity of user login credentials
- 2. Client to inform Grip which registration ID matches which login credentials for their event.