cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
newmay
Helper IV
Helper IV

Implicit Grant Flow Token Audience Issue

HI!

 

We set up the Implicit Grant Flow within the Portal Management Site Settings.

 

Yet when we query the token with <portal_url>/_services/auth/token we download it, debugg it on jwt.io and notice that no audience is set any thoughts?

1 ACCEPTED SOLUTION

Accepted Solutions

Yes that should be enough. And I assume you are setting client_id parameter when calling token endpoint right? If that's true I would advise you to open a ticket with MS as it looks like a bug. I will try to check if that's works on my dev portal and get back to you.

----------------------------------------------------
If you find this post helpful consider marking it as a solution to help others find it.

View solution in original post

4 REPLIES 4
OOlashyn
Super User
Super User

Hi @newmay ,

Audience in the token is set from client id setting. Please make sure that you set ImplicitGrantFlow/RegisteredClientId site setting and that you are including client_id parameter in your request.

----------------------------------------------------
If you find this post helpful consider marking it as a solution to help others find it.

HI @OOlashyn 

I have set both ImplicitGrantFlow/RegisteredClientId/  with the value as the ID. 

And ImplicitGrandFlow/{the client id}/RedirectUri  with the portal url as value.

 

 

That should be right or?

Yes that should be enough. And I assume you are setting client_id parameter when calling token endpoint right? If that's true I would advise you to open a ticket with MS as it looks like a bug. I will try to check if that's works on my dev portal and get back to you.

----------------------------------------------------
If you find this post helpful consider marking it as a solution to help others find it.

View solution in original post

Thanks! We wrote it like ClientId (as it is within the ImplicitGrandFLow). Now with Client_Id it worked...thanks!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,967)