APEX 20.1 SAML 2.0 get additional data from saml_callback
When using Apex SSO authentication with SAML login in APEX 20.1, login server sends user id and additional info such as guid, first name, last name etc. to the saml_callback. The saml_callback set the APP_USER. However, we need to access and user other information sent to the saml_callback such as the guid, first name and last name and not just the APP_USER from the user id.
application -> shared components -> authentication schemes -> create -> scheme type = SAML Sign-in
Using either SAML attributes of instance or Application
An XML is sent to the apex_authentication.saml_callback which contains the nameid, guid, email, first name and last name. Other SAML can also specify other additional information depending on the configuration. Portion below: