Nova postagem

Pesquisar

Artigo
· jan 2 5min de leitura

Mise à jour du code legacy vers les versions actuelles - Trucs et astuces

Il vous faudra inévitablement passer votre code d'une version antérieure d'IRIS ou de Cache à la version la plus récente d'IRIS. Voici quelques étapes à suivre pour réussir cette transition.

Discussão (0)0
Entre ou crie uma conta para continuar
Artigo
· jan 1 4min de leitura

Using Postman for testing the OAuth2.0 of the InterSystems FHIR repository - Part1

Hi all, it's me again for sharing what I am studying recently.😓

 

Recently, I am studying how to setup OAuth2 authentication for the InterSystems FHIR repository. And I found the following articles are very good and easy to follow.😁

SMART on FHIR EHR Launch with IRIS for Health

Building an FHIR Repository + OAuth2 Authorization Server/Resource Server Configuration on IRIS for Health Part 2

 

For me, as a user who do not have much knowledge about OAuth2.0. I think it quite difficult to understand how to setup the whole OAuth2.0 environment before knowing how's it look like (what is it? what are the parameters I need? What is the expecting output?) from a pure user point of view. 🤔 Here, I try to reverse the sequence a little bit, we try to talk about OAuth2.0 from the client side 1st. And , here, we use Postman as a client.😁

If you want to have a test environment for OAuth, you may try the following dockers

workshop-iris-oauth2 or the docker in this article Building an FHIR Repository + OAuth2 Authorization Server/Resource Server Configuration on IRIS for Health Part 1

In this article, I setup an InterSystems FHIR repository with HTTPS support on my local machine. (Base on my observation, correct me if I am wrong, for making the InterSystems OAuth working, the resource server should support HTTPS😑😐)

 


So let's start from something simple. 😀

Case 1: Basic Authentication 

 Information we need are

URL {hostname}/{path}/{Resources}?{parameters}
Body (optional)
Username  
Password  

 

While testing in Postman is simple, it looks like the following

In general, basic authentication is simple, because all you need is the URL of the resources you would like to get and provide the corresponding credential. 1 step and can obtain the data you want.😁✌

 


Case 2: OAuth Authentication 

The concept is a little bit different from basic authentication. From my understanding, the key difference is the concept of session and token. Maybe before we really jump into OAuth2.0, let's talk about something we familiar.

Let's consider the following scenario, you would like to visit an Art Museum for a special event "The Miracle Moment". As this event is so popular, the Art Museum decided to setup the flow control, divide the opening time into 8 sessions, for each session is 1 hour, and visitor must book their own session in the Ticketing Centre before visiting. In the other word, the visitor must present a valid ticket (token) at the correct time slot (session) to the Art Museum for the event "The Miracle Moment".

 

From the scenario above, we can summarize as following, from a OAuth2.0 client point of view, in order to access the resources we want, we need to 

Step1: get a token from the Authentication Server (Get a ticket from Ticket Service Centre)

Step2: present the token to the Resource Server (Present the ticket to the Art Museum)

For getting the token, you need to let the Authentication Server know

1. Who you are? (one of the most simple way, provide client_id and client_secret, of course there are some other way, but i just want to keep it simple here😁)

2. What is the Resource Server you want to access? (Which museum? Which venue?), you may provide it in the audience.

3. What is the scope of your access? (Which program? Which event?), you can provide it in the Scope, and this scope should be defined between the Authentication Server and the Resource Server.

 

So...now ... it's time for being a client

with the information below, and get the token from Postman

Auth Type OAuth2.0
Grant type Client Credentials
Access Token URL

https://{authentication server hostname}/oauth2/token?aud={resource server hostname}/path

For example,

https://authenticationserver.com/oauth2/token?aud=https://resourceserver...

Scope user/*.read user/*.write
Client Authentication Send as Basic Auth header

After the authentication complete, click use the token

 

Yeah!! now we got a valid token here,😁😂 and it will expired within an hour 😶🤐

 

Now use the token for getting the resource we want

 

Now try to get the Patient Resource

URL {resource server hostname}/{path}/Patient
Method GET
Token the one we got from Step 1

 

 

 

Yeah!! looks good.😁

Thank you for reading.

Discussão (0)1
Entre ou crie uma conta para continuar
Resumo
· jan 1

Resumo do InterSystems Developer Community, Dezembro 2025

Olá e bem-vindo ao boletim informativo da comunidade de desenvolvedores Dezembro 2025.
Estatísticas gerais
21 novas postages publicadas em Dezembro:
 17 novos artigos
 4 novos anúncios
2 novos membros ingressaram em Dezembro
1,522 postagens publicadas ao todo
652 membros ingressaram ao todo
Principais publicações
Principais autores do mês
Artigos
#InterSystems IRIS
Use o IRIS Load Data no VSCode
Por Yuri Marx
Scripting com .Net Core 10 e IRIS SDK
Por Heloisa Paiva
Utilitário IRIS IO: Um Guia Completo para Importação Inteligente no VS Code
Por Heloisa Paiva
Integração com Git para o Iniciante Absoluto: Boas Práticas de Controle de Origem com o IRIS através do VSCode
Por Heloisa Paiva
Depuração 101: Seu Primeiro Breakpoint e Acompanhamento de Variáveis no VS Code
Por Evandro Wendt
Índices: O Poder Silencioso por Trás de Consultas Rápidas
Por Heloisa Paiva
Pergunte às suas classes IRIS usando Ollama, IRIS VectorDB e LangChain.
Por Evandro Wendt
Minha experiência com APIs e integração de POS
Por Heloisa Paiva
Usando o IRIS como um banco de dados vetorial
Por Heloisa Paiva
"Os Erros HTTP Ocultos" (Por trás do IIS)
Por Heloisa Paiva
Quando considerar o uso de useIrisFsGroup em suas implantações do IKO
Por Evandro Wendt
Aproveitando o Server Manager ao criar extensões do VS Code que se conectam a servidores InterSystems
Por Evandro Wendt
Arquivos temporários e singletons: limpem o que vocês gerarem.
Por Evandro Wendt
#DIM vs SET – ObjectScript
Por Evandro Wendt
#Open Exchange
#InterSystems IRIS for Health
#Outro
Desvendando o LangGraph
Por André Dienes Friedrich
Anúncios
Dezembro, 2025Month at a GlanceInterSystems Developer Community
Anúncio
· jan 1

Developer Community Recap, December 2025

Hello and welcome to the December 2025 Developer Community Recap.
General Stats
122 new posts published in December:
 40 new articles
 35 new announcements
 40 new questions
 7 new discussions
283 new members joined in December
15,873 posts published all time
18,218 members joined all time
Top posts
Top authors of the month
Articles
#InterSystems IRIS
Debugging 101: Your First Breakpoint and Tracing Variables in VS Code
By Dmitrij Vladimirov
Example "Reloaded" - Deployment of several IRIS instances in ECP architecture
By Jose-Tomas Salvador
Use IRIS Load Data in VSCode
By Yuri Marx
Load data into servers (local or remote) from within VS Code
By John Murray
Understanding SQL Window Functions (Part 3)
By José Pereira
Security in IRIS
By Mikhail Khomenko
Temp Files and Singletons: Cleaning Up After Yourself
By Timothy Leavitt
Sub-Table Security
By David Hockenbroch
Scaffolding IRIS REST API Tests with IrisOASTestGen
By José Pereira
Intersystems IRIS provider for Apache Airflow
By Muhammad Waseem
When SQLancer Meets IRIS: What Happens When We Push a Database to Its Limits
By Dmitry Maslennikov
Introducing IRIS IO Utility: A VS Code Extension for Data Import/Export with InterSystems IRIS
By Pietro Di Leo
Scripting with .Net core 10 and Iris SDK
By Joan-Baptista Fabregas
IRIS IO Utility: A Complete Guide to Smart Importing in VS Code
By Pietro Di Leo
"Vibe coding" towards IRIS implementations?
By Zhong Li
Customizing API Test Code Generation with Mustache Templates
By José Pereira
Supply Chain Orchestration for dummies
By Yuri Marx
Create Foreign Tables Using SQL via JDBC
By Kate Lau
Leveraging Server Manager when building VS Code extensions that connect to InterSystems servers
By John Murray
Git Source Control Best Practices with IRIS in VSCode
By Dmitrij Vladimirov
Indexes: The Silent Power Behind Fast Queries
By Karthickraja S
Cause and solution of error when killing global
By Megumi Kakechi
Stale SQL Statements/Statistics (Or: Why do I have a Huge ^rINDEXSQL Global?)
By Tani Frankel
"The Hidden HTTP Errors" (Behind IIS)
By Tani Frankel
Using IRIS as a vector database
By Piyush Adhikari
iris-pgwire: Building Software Sanely with AI and Specifications
By Thomas Dyar
2025.1 FHIR Search Highlight - Lists-related Search Support (_List, $find, Functional/"Current" Lists)
By Tani Frankel
embeddedpy-bridge: A Toolkit for Embedded Python
By Ashok Kumar T
#DIM vs SET - Objectscript
By Vachan C Rannore
Exporting Interoperability Configuration data to CSV
By Keren Skubach
How to Find a Specific Text in ObjectScript
By Thibault Odor
 
#Open Exchange
 
#Other
 
#InterSystems IRIS for Health
 
Announcements
#InterSystems IRIS
Release Notes: InterSystems Cloud Services – Version 25.19.2 (August 2025)
By Dipak Bhujbal
Release Notes: InterSystems Cloud Services – Version 25.24.1 (November 2025)
By Dipak Bhujbal
Release Notes: InterSystems Cloud Services – Version 25.23.2 Release Notes (November 2025)
By Dipak Bhujbal
Release Notes: InterSystems Cloud Services – Version 25.20.2 Release Notes (October 2025)
By Dipak Bhujbal
Release Notes: InterSystems Cloud Services – Version 25.24.2 Release Notes (November 2025)
By Dipak Bhujbal
[Video] Smarter Table Statistics
By Liubov Zelenskaia
Managing InterSystems Servers – Virtual January 5-9, 2026 / Registration space available
By Larry Finlayson
[Video] SQL Tricks and Tips
By Liubov Zelenskaia
VS Code configuration settings cleanup
By Brett Saviano
[Video] Using InterSystems Data Studio with Supply Chain Module as a Data Gateway
By Liubov Zelenskaia
[Video] First Customers Using Vector Search - Real World Experiences and Lessons Learned
By Anastasia Dyubaylo
[Video] Inside Vector Search - Technical Innovations In InterSystems IRIS
By Anastasia Dyubaylo
 
#Developer Community Official
 
#InterSystems IRIS for Health
 
#Other
 
#Open Exchange
 
#Summit
 
#IRIS contest
 
#Global Masters
 
#Learning Portal
 
#HealthShare
 
Questions
#InterSystems IRIS
Resend a single message based on Session ID
By Scott Roth
WebTerminal and the $PRINCIPAL System Variable
By James Casazza
Single- and multi-user development environments and source control
By Michael Derr
For IRIS, $System.License.ShowSummary(), where is the source of information for the 'Current Users' value.
By Patrick Miller
Default settings - Application priorities
By Kurro Lopez
##class(Ens.MessageHeader).ResendDuplicatedMessage()
By Scott Roth
Using EnsLib.SQL.Service.GenericService to query local tables
By Scott Roth
I want to change the date in an HL7 Data Transformation
By Jonathan Harris
The "containers" section has been unavailable for two days in a row
By Dmitrii Baranov
Is there an analogy of Log() function for Embedded Python to Log errors?
By Evgeny Shvarov
Warning on Message Body
By Scott Roth
Populating Persistent Class from JSON
By Scott Roth
How the installed IPM package can know where it was installed?
By Evgeny Shvarov
Are class queries only for SELECT?
By Evgeny Shvarov
vscode failed to fetch namespace list from server
By Ying Zhang
%SYS.OAuth2.AccessToken - Retrieval
By Scott Roth
How can I add an ancestor to a class programmatically?
By Evgeny Shvarov
 
#InterSystems IRIS for Health
 
#Health Connect
 
#HealthShare
 
#InterSystems Data Studio
 
#Caché
 
#Other
 
#Ensemble
 
Discussions
December, 2025Month at a GlanceInterSystems Developer Community
Discussão (0)1
Entre ou crie uma conta para continuar
Anúncio
· jan 1

Récapitulation de la communauté des développeurs, décembre 2025

Bonjour et bienvenue à la récapitulation de la communauté des développeurs de décembre 2025.
Statistiques générales
✓ Nouvelles publications 20 publiées le décembre :
 10 nouveaux articles
 10 nouvelles annonces

✓ Publications 1,337 publiées depuis le début
✓ Membres 194 ayant rejoint depuis le début
✓ Nouveaux membres 4 ayant rejoint le décembre 

Meilleures publications
Partagez vos idées !
Par Irène Mykhailova
Les meilleurs auteurs du mois
Articles
#InterSystems IRIS
 
#InterSystems IRIS for Health
 
Annonces
#InterSystems IRIS
 
#Communauté des développeurs officielle
 
#IRIS contest
 
#Portail d'apprentissage
Partagez vos idées !
Par Irène Mykhailova
 
#Autre
 
Décembre, 2025Month at a GlanceInterSystems Developer Community
Discussão (0)1
Entre ou crie uma conta para continuar