microscopic-answer-24504
06/12/2023, 2:57 PMnumerous-umbrella-61726
06/12/2023, 3:00 PMwide-daybreak-39428
06/12/2023, 3:02 PMwide-daybreak-39428
06/12/2023, 3:02 PMwide-daybreak-39428
06/12/2023, 3:02 PMwide-daybreak-39428
06/12/2023, 3:02 PMnumerous-umbrella-61726
06/12/2023, 3:03 PMwide-daybreak-39428
06/12/2023, 3:03 PMwide-daybreak-39428
06/12/2023, 3:04 PMwide-daybreak-39428
06/12/2023, 3:04 PMwide-daybreak-39428
06/12/2023, 3:04 PMnumerous-umbrella-61726
06/12/2023, 3:08 PMnumerous-umbrella-61726
06/12/2023, 3:09 PMwide-daybreak-39428
06/12/2023, 3:11 PMnumerous-umbrella-61726
06/12/2023, 3:13 PMwide-daybreak-39428
06/12/2023, 3:13 PMnumerous-umbrella-61726
06/12/2023, 3:14 PMnumerous-umbrella-61726
06/12/2023, 3:14 PMwide-daybreak-39428
06/12/2023, 3:17 PMnumerous-umbrella-61726
06/12/2023, 3:18 PMwide-daybreak-39428
06/12/2023, 3:18 PMrich-thailand-93889
06/12/2023, 6:03 PMconst { consent_challenge } = req.query // the HTTP request
const challenge = await oauth2
.getOAuth2ConsentRequest({ consentChallenge: String(consent_challenge) })
.then(({ data: body }) => body)
const skipConsent =
challenge.skip || // skip because the user accepted the consent previously
challenge.client.skip_consent // skip because the client is trusted
if (skipConsent) {
// If the consent is skipped, we accept the consent request immediately.
await oauth2.acceptOAuth2ConsentRequest({
consentChallenge: String(consent_challenge),
acceptOAuth2ConsentRequest: {
grant_scope: challenge.requested_scope,
grant_access_token_audience: challenge.requested_access_token_audience,
session,
},
})
}
as per the docs:
scope
(optional): The scope of the access request, which specifies what resources the requesting application can access.
eg scope=email+name
On-Premise: We have some hybrid scenarios (self-hosted & network) for which we can provide a support/service offering. If you’re interested, we can schedule a quick call to discuss your regulatory and security requirements? It’s likely that Ory network already fulfills most of those needs.delightful-noon-48365
06/13/2023, 3:19 PM