FormidableLabs / FormidableLabs/react-native-app-auth

Salesforce B2C Commerce API

Offen
#793 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
2.3k
Forks
473
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

## Issue

The Google Login Screen is not loaded. It shows a page with 404 instead.

```
config = {
clientId: ,
clientSecret: ,
redirectUrl: ,
scopes: ['openid', 'profile', 'email'],
additionalParameters: {
hint: 'google',
name: 'google',
channel_id: ,
},
serviceConfiguration: {
authorizationEndpoint:
`https://${shortCode}.api.commercecloud.salesforce.com/shopper/auth/v1/organizations/${organizationId}/oauth2/authorize`,
tokenEndpoint:
`https://${shortCode}.api.commercecloud.salesforce.com/shopper/auth/v1/organizations/${organizationId}/oauth2/token`
},
}
```

---

## Environment

* **Your Identity Provider**: `Salesforce B2C Commerce API`
* **Platform that you're experiencing the issue on**: `both`
* **Are you using Expo?**: `No`

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne damit, den Google-Login-Ablauf auf beiden Plattformen mit der in diesem Issue gezeigten Salesforce B2C Commerce-Konfiguration zu reproduzieren, wobei der Fokus auf dem authorizationEndpoint und seiner 404-Antwort liegt. Vergleiche die angeforderte URL mit der Dokumentation zu Salesforce' OAuth-Endpunkt und der AppAuth-Integration der Bibliothek. Als abgeschlossen gilt dies, wenn anstelle von 404 der Google-Login-Bildschirm geladen wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
react-native
Bereich
authentication, mobile
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.