[Azure AD Mobile Plugin] Azure AD Mobile Plugin: Unknown error in JWT validate token

[Azure AD Mobile Plugin] Azure AD Mobile Plugin: Unknown error in JWT validate token

  
Forge Component
(4)
Published on 12 Dec (3 days ago) by Pedro Costa
4 votes
Published on 12 Dec (3 days ago) by Pedro Costa

Hi,

I'm using Azure AD mobile plugin in my application. After using it in my app, I provided every input parameter namely ClientId, Authority, RedirectURI, and ResourceURI. On login, the plugin is working fine until the Server Action ServerSetup. When I clicked on it, I got to know the flow is halted at ValidateToken, resulting in throwing the exception.

Please help me out.

Note: I've performed some modifications(PFA) and redirected the flow before ServerSetup to make login work fine but I'm not able to use the JWT functionality.

Thanks,

Vikhyat

Vikhyat Sharma wrote:

Hi,

I'm using Azure AD mobile plugin in my application. After using it in my app, I provided every input parameter namely ClientId, Authority, RedirectURI, and ResourceURI. On login, the plugin is working fine until the Server Action ServerSetup. When I clicked on it, I got to know the flow is halted at ValidateToken, resulting in throwing the exception.

Please help me out.

Note: I've performed some modifications(PFA) and redirected the flow before ServerSetup to make login work fine but I'm not able to use the JWT functionality.

Thanks,

Vikhyat

Hi, Vikhyat

What is the exception you're getting?

Hi Pedro,

There is already defined an exception in the plugin(PFA). So, we're getting a message from it. I can't figure out the exception.

Thanks

Solution

Vikhyat Sharma wrote:

Hi Pedro,

There is already defined an exception in the plugin(PFA). So, we're getting a message from it. I can't figure out the exception.

Thanks

Hi Vikhyat,

Did you fill the site property Client_IdentityProvider ?

This information can be found in LocalADALUser.IdentityProvider, but for security reasons it is set to a site property


Solution

Pedro Costa wrote:

Vikhyat Sharma wrote:

Hi Pedro,

There is already defined an exception in the plugin(PFA). So, we're getting a message from it. I can't figure out the exception.

Thanks

Hi Vikhyat,

Did you fill the site property Client_IdentityProvider ?

This information can be found in LocalADALUser.IdentityProvider, but for security reasons it is set to a site property



Where do I need to fill Client_IdentityProvider? Because I can see only 4 input parameters(ClientId, Authority, RedirectURI, and ResourceURI) as can be seen in the screenshot shared in the previous reply.

Please help.

Thanks

You will find on the site properties of espace AdalPlugin