Birbal AI

Hawiya · هوية · A guide

SAML vs OAuth vs OpenID Connect which to use for single sign-on, apps and APIs.

All three let one service vouch for a person so that another can trust it, but they answer different questions. SAML 2.0 signs people in to business web apps. OAuth 2.0 lets an app reach an API on someone’s behalf. OpenID Connect adds sign-in on top of OAuth 2.0 for web and mobile apps. Hawiya speaks SAML 2.0 and OpenID Connect, so almost any business app can sign in through it.

  • SAML 2.0 for business web apps
  • OpenID Connect for web and mobile
  • OAuth 2.0 tokens for your APIs
Hawiya applications list: 14 apps that sign in through Hawiya, each with its sign-in method (OpenID Connect or SAML 2.0), the number of people with access, the last sign-in and its status
Apps connected over OpenID Connect and SAML 2.0.

Authorized vendor to

  • Ministry of Finance
  • Ministry of Interior
  • DGE Abu Dhabi
  • Etihad Aviation
  • EDGE Group

Delivered for

  • Hindustan Unilever
  • Nokia
  • Linde
  • USA Today
  • JSL

Procurement-ready

  • Emirati national company
  • National ICV certificate
  • Abu Dhabi Government Procurement Gate
  • UAE Ministry of Finance, federal procurement
  • Registered ADNOC vendor

Side by side

SAML, OAuth and OpenID Connect compared

What each standard is for, who publishes it, and where it fits.

QuestionOpenID ConnectSAML 2.0OAuth 2.0
What it is forSigning people in to web and mobile appsSigning people in to business web appsLetting an app reach an API on someone’s behalf, or on its own
The question it answersWho is this person?Who is this person, and what do we know about them?What may this app do?
Who publishes itOpenID Foundation; also ISO/IEC 26131:2024OASIS, an OASIS Standard since March 2005IETF, RFC 6749, October 2012
What the app receivesAn ID token, a signed JSON Web Token, and an access token if neededA signed XML assertionAn access token
Best forNew web apps, mobile apps and single-page appsEstablished business and SaaS apps that offer itYour own APIs and app-to-app access
In HawiyaYesYesYes, as the base of OpenID Connect, with tokens your APIs can check

In plain words

What SAML, OAuth and OpenID Connect each do

SAML 2.0

The Security Assertion Markup Language, an OASIS Standard since March 2005. When someone opens an app, the app sends them to the identity provider, which signs them in and returns a signed XML statement of who they are. Most established business apps support it.

OAuth 2.0

An authorization framework, published by the IETF as RFC 6749 in October 2012. It lets an app get limited access to an API with an access token instead of the person’s password. On its own it does not tell the app who the person is.

OpenID Connect

A simple identity layer on top of OAuth 2.0, from the OpenID Foundation, also published as the international standard ISO/IEC 26131:2024. The app receives an ID token that says who signed in, which suits modern web and mobile apps.

Choosing

Which one should your app use?

  1. 01

    The app offers only SAML

    Use SAML 2.0. Many established business apps have a SAML setting in their admin console.

  2. 02

    You are building a web or mobile app

    Use OpenID Connect. There are libraries for every major language, and mobile apps can sign in through the phone’s browser.

  3. 03

    Your app calls an API

    Use OAuth 2.0 access tokens, issued by the same identity provider that signs people in.

  4. 04

    The app offers both

    Prefer OpenID Connect for new connections, and keep SAML where it already works.

In Hawiya

One identity provider for SAML and OpenID Connect apps

Both standards, one sign-in

Apps on SAML 2.0 and apps on OpenID Connect trust the same Hawiya sign-in, with the same second factor and the same rules.

Tokens for your APIs

Your own APIs can check the access tokens Hawiya issues, so apps and services share one sign-in.

Tested templates

Templates for common apps, starting with Microsoft 365 and Google Workspace, so a connection doesn’t start from a blank form.

Single sign-on (SSO) with Hawiya

Product tour

See Hawiya at work

Hawiya screens for a company with employees, contractors and customers.

Hawiya applications list: 14 apps that sign in through Hawiya, each with its sign-in method (OpenID Connect or SAML 2.0), the number of people with access, the last sign-in and its status
Every app that signs in through Hawiya, with its sign-in method, who has access and the last sign-in.
Hawiya sign-in rules: employees need a second factor, administrators use passkeys only, customers sign in with UAE PASS or a passkey, password reset needs a second factor and contractor accounts end after 90 days, with second-factor coverage by group
Sign-in rules: a second factor for employees, passkeys for administrators, UAE PASS or a passkey for customers.
  • One sign-in for every app

    People sign in once, and connected apps trust that sign-in over SAML 2.0 or OpenID Connect.

  • Clear rules for each group

    Each group gets the ways to sign in it is allowed, and the first rule that matches decides.

  • Everything on record

    Every sign-in and admin change goes in the audit log, with the person, the time and the result.

Hawiya sign-in page for a company: email or username and password, a forgotten password link, sign in with UAE PASS and use a passkey, with a link to Arabic
Sign-in pageA sign-in page in Arabic and English, with UAE PASS and passkeys.
Hawiya audit log: every sign-in and admin change with the time, the person, the event, the app, the sign-in method and the result, including failed sign-ins and a locked account
Audit logSign-ins, failed attempts and admin changes, with the person and the time.
Hawiya admin overview for a company with 4,180 accounts: active users today, sign-ins in the last 24 hours with those through UAE PASS, failed sign-ins, connected apps, sign-ins by hour and the items that need attention
OverviewActive users, failed sign-ins and what needs attention.

Licensing

License Hawiya on your servers or in the cloud

Hawiya is sold as a software licence, not a one-off project. You choose where it runs; the product, updates and support are the same.

On-premise licence

Runs on your servers

Install Hawiya in your data center, in your private cloud tenant or on an isolated network with no internet connection.

  • Annual licence, priced by the number of users
  • Your data never leaves your network
  • Installation, training and updates included
  • Support with agreed response times

Cloud subscription

Hosted for you

We run Hawiya for you in a UAE data center, or in a cloud region in your country.

  • Monthly or annual subscription, priced by the number of users
  • Hosting, backups and monitoring included
  • Updates applied for you
  • Single sign-on and role-based access

The price depends on the number of users and the support level. We reply within one business day and send a written quote after a short scoping call.

Book a walkthrough

See your apps connected over SAML and OpenID Connect

Send us the list of apps your people use. We show which connect over SAML 2.0, which over OpenID Connect, and how they share one sign-in in Hawiya.

  • Your app list, mapped
  • In Arabic or English
  • Under NDA if you need one

4.9/5 average rating · 98% client satisfaction · 150+ clients served

Book a Hawiya walkthrough

We only use your details to reply to you. Arabic or English, as you prefer.

FAQ

SAML, OAuth and OpenID Connect, answered

What is SAML?

The Security Assertion Markup Language, an XML-based standard from OASIS. SAML 2.0, an OASIS Standard since March 2005, lets an identity provider sign a person in and tell a business app who they are, which is how single sign-on works in many established apps.

What is OAuth?

OAuth 2.0 is an authorization framework, published by the IETF as RFC 6749 in October 2012. It lets an app get limited access to an API, for a person or for itself, with an access token instead of a password.

What is OpenID Connect?

A simple identity layer on top of OAuth 2.0, from the OpenID Foundation. It adds an ID token that tells the app who signed in, so it is used for sign-in to web and mobile apps. OpenID Connect Core 1.0 is also published as ISO/IEC 26131:2024.

What is the difference between OAuth and OpenID Connect?

OAuth 2.0 grants an app access to an API; it was not built to tell the app who the person is. OpenID Connect builds on OAuth 2.0 and adds an ID token that does. Use OpenID Connect for sign-in, and OAuth 2.0 access tokens for API calls.

Is SAML outdated?

No. It is older and built on XML, but it is still the sign-in option many established business and SaaS apps offer, and identity providers keep supporting it. New apps usually choose OpenID Connect.

Which is more secure, SAML or OpenID Connect?

Both are secure when set up properly: signed responses, checked audiences and short lifetimes. Most problems come from how an app checks what it receives, which is why tested app templates matter.

Does Hawiya support SAML and OpenID Connect?

Yes. Hawiya signs people in to apps over SAML 2.0 and OpenID Connect, and issues OAuth 2.0 access tokens your own APIs can check. It is built on Keycloak, which supports all three.

What about SCIM?

SCIM is a different standard, for creating and removing user accounts rather than signing in. Hawiya is designed to accept users from HR systems over SCIM.

How is Hawiya licensed?

As an annual on-premise licence installed on your servers, private cloud or an isolated network, or as a monthly or annual cloud subscription that we host in a UAE data center or a cloud region in your country. Both include updates and support.

SAML and OpenID Connect apps, one sign-in

Book a Hawiya walkthrough with your app list.

Book a Hawiya walkthrough