OAuth 2.0
Use JobTek sign-in to request access without asking users for their password.
Choose how your integration connects
| Integration | Use |
|---|---|
| Web, mobile or desktop app used by a person | Authorization Code with S256 PKCE |
| Server-side web app used by a person | Authorization Code with S256 PKCE and server-side client authentication |
| Unattended integration for your own JobTek company | Client Credentials |
| App offered to other JobTek customers | Authorization Code with S256 PKCE; review is required before public release |
Endpoints
| Authorization | https://auth.jobtek.com/connect/authorize |
| Token | https://auth.jobtek.com/connect/token |
| User information | https://auth.jobtek.com/connect/userinfo |
| Revocation | https://auth.jobtek.com/connect/revoke |
| OpenID configuration | https://auth.jobtek.com/.well-known/openid-configuration |
Authorization Code with PKCE
- Create a cryptographically random
state, PKCE verifier and S256 challenge. - Send the browser to the authorization endpoint.
- JobTek signs the user in and shows the access being requested.
- Validate
state, then exchange the returned code with the original verifier. - Use the access token in the API
Authorizationheader.
Authorization codes are short-lived and single-use. Mobile and browser applications are public clients and must not contain a client secret.
Server authentication
Confidential clients can authenticate with a client secret or private_key_jwt. Store secrets in a secrets manager. For private-key JWT, keep the private key on your server and publish only the public JWKS.
Refresh and revoke access
Request offline_access only when your app needs to work while the user is away. Store refresh tokens encrypted, replace them whenever JobTek rotates them, and revoke them when a user disconnects your app.