Guide
Everything you need to know to use this demo and connect your own OAuth apps.
What is SineAuth?
SineAuth is a standards-compliant OpenID Connect and OAuth 2.0 identity provider built for the Sinenie platform. It issues access tokens, refresh tokens, and ID tokens following OAuth 2.0 (RFC 6749) and the OpenID Connect Core 1.0 specification.
Developers can register OAuth applications, configure redirect URIs, manage scopes, and integrate SineAuth into their own products using any standard OIDC client library.
What this demo does
This app demonstrates the Authorization Code + PKCE flow — the recommended grant type for user-facing web applications. Here’s what happens when you click “Sign in”:
-
1
Your browser is redirected to SineAuth
The identity provider presents a login screen. Your credentials are submitted directly to SineAuth, never to this app.
-
2
You authenticate at SineAuth
SineAuth verifies your credentials and, if required, requests consent to share your profile with this app.
-
3
SineAuth issues an authorization code
A short-lived, single-use code is returned to this app’s callback URL via browser redirect.
-
4
This app exchanges the code for tokens
The exchange happens server-side using the client secret. The access token and ID token are received.
-
5
Your identity claims are displayed
The ID token and UserInfo endpoint reveal your profile data — name, email, and any other claims SineAuth issued.
sample-client application.
You can substitute your own OAuth app credentials — see the step-by-step guide below.
Use your own OAuth app
Follow these steps to authenticate using your own registered application.
Register at SineAuth
Visit auth.sinenie.cl and create an account if you don’t have one yet.
Create an Organization
In Account Settings, go to Organizations → New organization and create an organization. OAuth apps are registered per organization.
Create an OAuth application
In Account Settings, click your organization under Organizations, then go to View applications → New Application, and set the following redirect URIs:
https://demo.sinenie.cl/signin-oidc
https://demo.sinenie.cl/signout-callback-oidc
Copy your credentials
After saving the app, copy the Client ID and Client Secret from the app details page.
Enter credentials in this demo
Go to Configure, paste your Client ID and Client Secret, and click Save. Your credentials are stored only in this browser tab and expire after 10 minutes.
Ready to configure?
Enter your OAuth app credentials and sign in with your own application.