<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
System Status
Announcements
Announcements
Search
Search
Select Language
0D54z00006yRDi2CAGOkta Classic EngineSingle Sign-OnAnswered2021-05-23T15:03:59.000Z2021-05-19T14:27:53.000Z2021-05-23T15:03:59.000Z

AamirM.62161 (Customer) asked a question.

Okta React Native unable to set response_type ="code"

Hi, there

I am using React Native to sign In Okta for SSO. I am using OIDC for this. The application works fine for Okta validation after that it returns Id Token and user complete information but I expect code from response_type just like on the web end.

If we pass parameter response_type: "code" it returns code after Okta authentication in the web end. I want the same thing in React Native

I am using the following package

npm i -D @oktadev/schematics@3.4.1

after that

schematics @oktadev/schematics:add-auth

I provided isuser URL and client ID


This question is closed.
Loading
Okta React Native unable to set response_type ="code"
Okta Support Agent (Beta)

Terms of Service

Hello! I'm the Okta Support Agent (Beta), your go-to resource for questions about Okta products. Please remember for your security and privacy, do not share any Personally Identifiable Information (PII) such as passwords, IP addresses, or other details with me.

Okta Privacy Policy and Terms of Service apply