SAML/OIDC (not OAUTH2 flows) are interactive authentication flows. They can't be used for machine-to-machine communications like you can with an API key. You need to provide the user a user interface to login using our standard login page (IE if you were using our desktop application of Maximo) that then redirects back to your application based on your OIDC setup that I linked to above. You capture the cookies in the redirect back to your application and provide them on subsequent requests. We don't document this because how you render the UI, capture the cookies, and everything else is going to be up to your application to do.
Every one of your instances (PROD, DEV, etc.) and/or every one of your customer instances would need to go through the setup process to register a new OIDC client. Your product, once this has been configured by their administrators, should be able to work for each of them with some sort of configuration to point to the MAS home URL. This is how Maximo Mobile is able to work once pointed to their MAS URL for example.
Original Message:
Sent: 01-21-2025 08:47
From: Rana Ahmed
Subject: MAS Authentication using postman
Thanks Steven,
1. By interactive UI, can you explain it a bit more or point to some documentation.
2. Open ID client, will that only work one installation of MAS?
------------------------------
Rana Ahmed
Maximomize
Original Message:
Sent: 01-07-2025 17:29
From: Steven Shull
Subject: MAS Authentication using postman
You'll need to build an interactive UI like we do for Maximo Mobile or the MAF configuration to authenticate the session and then provide the x-access-token and other headers on subsequent requests to the /maximo/oslc (not /maximo/api) context. To the best of my knowledge, we don't have anything like this documented because how you implement it will be unique for your application.
The one piece I can share is how you register a new OpenID client. For the MAF configuration app, we don't register this out of the box so we documented how to do it here: https://ibm-mas.github.io/cli/commands/configtool-oidc/ . You would need to replace the various parameters with the correct settings including the TRUST_UI_PREFIX to be for your application.
------------------------------
Steven Shull
IBM
Original Message:
Sent: 01-07-2025 14:22
From: Rana Ahmed
Subject: MAS Authentication using postman
Thanks API key works fine but I need to provide user access to certain things and I need to auth him via MAS and then read/ update certain OS. In that case creating api key for each user is not ideal.
------------------------------
Rana Ahmed
Maximomize
Original Message:
Sent: 01-03-2025 08:26
From: Phil Runion
Subject: MAS Authentication using postman
I believe that Maximo Mobile authenticates against MAS Core and then uses that session for the sequential API calls into Manage. This approach would allow you to use native, LDAP, or SAML authentication even with MFA enabled. Getting into this type of authentication can get tricky quickly. I recommend sticking with a Manage level API key when interesting with those APIs.
------------------------------
Phil Runion
Projetech
Original Message:
Sent: 01-02-2025 10:59
From: Rana Ahmed
Subject: MAS Authentication using postman
I am trying to authenticate a user using postman with MAS (Manage).
It works fine when using API key.
My requirement is to authenticate using username and passsword.
I tried the maxauth, basic or form based authentication from this guide IBM Maximo REST API Guide – Authentication but oes not seem to work.
How do we authenticate users with MAS (Manage) using a username and password?
Is it documented anywhere?
How does Maximo mobile app does it
#Integrations
#MaximoApplicationSuite
------------------------------
Rana Ahmed
Maximomize
------------------------------