We are trying to integrate all our internal applications with our Azure AD. We are only allowing accounts within our organisation to connect. We have implemented this in our Traditional Web and Reactive apps but I cannot find a suitable method or plugin that will allow me to do this.
The Azure AD Mobile plugin is deprecated and it doesn't want to generate an apk for our android applications when I link it as a dependence. And I cannot find another that will be sufficient.
I have had a look at the Idp plugins, but I am a bit new to it so I was wondering if there might be a tutorial or documentation about the mobile plugin that I can look at in order to implement this.
Hey Rudolph I'm not sure if this plugin is working, but you can give it a tryhttps://www.outsystems.com/forge/component-overview/8038/msal-pluginAlternatively, you should be able to implement the OAuth Authentication with the help of this plugin (it will basically implement the authentication the same way you have in your Traditional and Reactive apps)
https://www.outsystems.com/forge/component-overview/1956/oauthmobile
Cheers,LuÃs Almeida
Hi @Luis Almeida
The MSAL plugin seems to be the right fit. I am just struggling with setting all the required properties in the correct place or in the correct way.
Do you perhaps have a tutorial or some documentation that I can go through to make sure I set the Tenant ID and the Client ID correctly?
Hey Rudolph,I don't have really have a tutorial but on that plugin page you have a description of what to do to set up both the TenantId and the ClientId.But to summarize it you have to go to the MSAL Plugin Module and do this:
Regarding the KEY_HASH you have to get it by following the instructions on the plugin page.Hope this helps!Luis Almeida
Thanks @Luis Almeida. Can I only put this into the MSAL plugin? What if I need to use the plugin in multiple mobile applications? Will I only have to setup this per environment?
I entered the details in extensibility config settings in my application but I see it doesn't pick up the details.
What you did should work, did you remove the configuration from the plugin? Like, leaving it completely empty.
No I didn't initially but did after you mentioned it just now. And it worked perfectly with all three applications that we have.
Thanks @Luis Almeida