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

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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,017)