Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Social sign in options not shown on identifier first credential chooser #342

Open
3 of 5 tasks
aeneasr opened this issue Jan 27, 2025 · 0 comments
Open
3 of 5 tasks
Labels
bug Something isn't working @ory/elements-react

Comments

@aeneasr
Copy link
Member

aeneasr commented Jan 27, 2025

Preflight checklist

Ory Network Project

No response

Describe the bug

Image

Reproducing the bug

  1. set up single sign on and new ax
  2. create account like this:
curl --location 'https://sharp-carver-1uw3ygqhct.projects.oryapis:8080/admin/identities' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer key' \
--data-raw '{
    "traits":{
    "email": "[email protected]"
    },
    "credentials":{
        "oidc":{
            "config":{
                "providers":[{"provider":"google","subject":"[email protected]"}]
            }
        }
    }
}'
  1. trigger login with [email protected]

Relevant log output

Relevant configuration

Version

master

On which operating system are you observing this issue?

None

In which environment are you deploying?

None

Additional Context

{
  "id": "a2222834-7fb0-4d96-a708-492754e82fdc",
  "organization_id": null,
  "type": "browser",
  "expires_at": "2025-01-27T15:07:23.330673Z",
  "issued_at": "2025-01-27T14:07:23.330673Z",
  "request_url": "https://sharp-carver-1uw3ygqhct.projects.oryapis:8080/self-service/login/browser?aal=&refresh=&return_to=&organization=&via=",
  "active": "identifier_first",
  "ui": {
    "action": "https://sharp-carver-1uw3ygqhct.projects.oryapis:8080/self-service/login?flow=a2222834-7fb0-4d96-a708-492754e82fdc",
    "method": "POST",
    "nodes": [
      {
        "type": "input",
        "group": "identifier_first",
        "attributes": {
          "name": "identifier",
          "type": "hidden",
          "value": "[email protected]",
          "required": true,
          "autocomplete": "username webauthn",
          "disabled": false,
          "node_type": "input"
        },
        "messages": [],
        "meta": {
          "label": {
            "id": 1070002,
            "text": "E-Mail",
            "type": "info",
            "context": {
              "title": "E-Mail"
            }
          }
        }
      },
      {
        "type": "input",
        "group": "default",
        "attributes": {
          "name": "csrf_token",
          "type": "hidden",
          "value": "DVsgzYNUUvrEk75shL+LoiV3abolUVuA6xIAHQzwkFWRIBuwMXHvBI55ygEPUB80cLh4XlGy28Q2Yropl526Zw==",
          "required": true,
          "disabled": false,
          "node_type": "input"
        },
        "messages": [],
        "meta": {

        }
      },
      {
        "type": "input",
        "group": "oidc",
        "attributes": {
          "name": "provider",
          "type": "submit",
          "value": "google",
          "disabled": false,
          "node_type": "input"
        },
        "messages": [],
        "meta": {
          "label": {
            "id": 1010002,
            "text": "Sign in with Google",
            "type": "info",
            "context": {
              "provider": "Google",
              "provider_id": "google"
            }
          }
        }
      }
    ]
  },
  "created_at": "2025-01-27T14:07:23.334691Z",
  "updated_at": "2025-01-27T14:07:23.334691Z",
  "refresh": false,
  "requested_aal": "aal1",
  "state": "choose_method"
}
@aeneasr aeneasr added the bug Something isn't working label Jan 27, 2025
aeneasr added a commit that referenced this issue Jan 28, 2025
Adds a story book component for identifier first credentials select.

Closes #342
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working @ory/elements-react
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants