TrademarkTrademark
Ctrl k
Search docs...
Setup

Configure Client

Last update: August 25, 2025
Thumbnail of Configure Client
After successfully setting up Go IAM backend and UI, you need to configure your client to start using the authentication system. Else the application will be running in *insecure mode. This guide walks you through the essential steps to get your client application connected and ready for authentication. Watch this comprehensive video tutorial that demonstrates the entire client configuration process:
Follow these three essential steps to configure your Go IAM client: Before your applications can authenticate users, you need to configure authentication providers in the Go IAM admin interface.
  • Access Admin UI: Navigate to your Go IAM admin interface (typically http://localhost:4173)
  • Go to Auth Providers: Click on "Auth Providers" in the sidebar
  • Add Auth Provider: Click "Add". Give a name. By default "Google" provider will be selected
  • Configure Credentials:
    • Client ID: Your Google OAuth 2.0 client ID
    • Client Secret: Your Google OAuth 2.0 client secret
    • Redirect URI: Configure the callback URL for your application
    • You can follow the official documentation for more info.
  • Save Provider: Click "Save changes" to store the provider settings
If you don't have Google OAuth credentials:
  • Go to Google Cloud Console
  • Create or select a project
  • Navigate to "APIs & Services" > "Credentials"
  • Click "Create Credentials" > "OAuth 2.0 Client IDs"
  • Configure the OAuth consent screen if required
  • Set the application type and authorized redirect URIs
  • Copy the generated Client ID and Client Secret
After configuring the auth provider, you need to register your client application. Clients are meant of client applications to use go iam.
  • Navigate to Clients: In the admin UI, go to "Clients" section
  • Create New Client: Click "Add" button
  • Configure Client Details:
    • Client Name: A descriptive name for your application. Eg: Go IAM Auth
    • Description: Description of your client**.**
    • Tags: Comma separated tags. Eg: goiam
    • Default Client: Check Set as Go IAM Client checkbox. This makes sure this client has to be used by Go IAM for its own auth purpose.
    • Redirect Urls: When you check Set as Go IAM Client, the redirect url will be automatically set to <baseUrl>/verify
  • Select Auth Providers: Choose which auth providers this client can use. The one you created in the previous step
  • Save Client: Click "Save Changes" to create the client
With the auth provider and client configured, you will be automatically logged out of the system. You can login with credentials. Now we are good to go to integrate go iam with your client applications. You can setup clients for your applications. The steps are same as 1 and 2. You can setup one auth provider and use it for multiple clients. Set as Go IAM Client option won't be available and not required for creating clients for your application.
On this page
© 2025 Go IAM. Open source under Apache 2.0 License.