Welcome to the Kinde community.

P
K
A
A
A

Ios app kinde login audience key issue

Hi Support
I'm using kinde login into my iOS app using iOS SDK.

When i added the audience key into kinde-auth.json file, I'm getting invalid callback url. Otherwise, it is working fine.

The audience is optional, its there to request api access for the token, when granted it will be in the access token.

Why is it not working with audience key? What should be the expected behaviour?

1
D
A
P
17 comments

Hi Ashar,

So I am clear, are you saying that adding the audience to settings causes the callback error? Without the audience it works ok?

Thank you, this is interesting. Are you able to capture the generated URL before its requested, don't worry if not.

I am not clear about the URL that you are asking.

Hey ,
I am so sorry we never got back to you earlier.
Daniel was on compassionate leave last week dealing with a sudden family emergency.
I know this is no excuse for not getting back to you earlier, but I just wanted to share some context.

My team and I are keen to help you on this issue and I can assure you we will get back to you quicker than we did before.

Before we continue, can you please confirm if this callback issue still occurs?

Hey

No worries at all, I understand, and I hope everything is okay with Daniel and his family.
Regarding the callback issue, yes, it is still occurring when I add the audience key to the Kinde-auth.json file.

Hey ,
Thanks for your understanding.
I will continue to investigate this issue with my team.
I will get back to you once I have more info.

Thanks. Looking forward to your update.

Hey ,
What version of the iOS SDK are you using when you come across the issue you mentioned above?

Hey ,
Just checking again if you are still experiencing this issue?

Hey

Thank you for your patience. I'm currently using version 1.4.0 of the iOS SDK, and the issue still persists.

I've attached my audience key for reference:

Attachment
image.png

Hey ,
Are you able to update to the latest version of the iOS SDK (v1.4.1) and let me know if you are still experiencing this issue?

Hey , I'm getting the following error on updating kindeSDK:

[!] CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/7/9/9/KindeSDK/1.4.1/KindeSDK.podspec.json Response: Error in the HTTP2 framing layer

Hey ,
Thanks for the quick reply.
I will get my team to look into this.

Apologies for this issue still appearing.

Hey ,
We are still investigating your issue - I will continue to update you on our progress to fix your issue.

Hey ,
Are you able to explain more about what you are trying to achieve?

I understand you want add an audience key into kinde-auth.json file, to "request api access for the token, when granted it will be in the access token."
Do you want to get an access token to the Kinde Management API or your own API (i.e. https://5dkey.kinde.com/api)?

Add a reply
Sign up and join the conversation on Slack
Join