Hello, is <GitLab social sign-in> working? I'm exp...
# ory-network
r
Hello, is GitLab social sign-in working? I'm experimenting with it using my GitLab .com ID, can't seem to create a user with
<http://oryapis.com/ui/welcome|oryapis.com/ui/welcome>
, always get this obscure error:
Copy code
An error occurred
An error occurred with the following message:
{
  "id": "19bfa98a-REDACTED",
  "error": {
    "code": 500,
    "message": "An internal server error occurred, please contact the system administrator",
    "reason": "EOF",
    "status": "Internal Server Error"
  },
  "created_at": "2023-01-02T12:51:56.575723Z",
  "updated_at": "2023-01-02T12:51:56.575723Z"
}
My mapping:
Copy code
local claims = {
  email_verified: false,
} + std.extVar('claims');

{
  identity: {
    traits: {
      [if "email" in claims && claims.email_verified then "email" else null]: claims.email,
    },
  },
}
I permitted
openid
scope only as I believe that should be sufficient to get a prototype working. I tried adding
read_user
email
profile
etc to my OIDC "application" as well as the social sign-in config but that didn't seem to make any differences. FWIW GitHub social sign-in worked as expected. Is there any ways to check error logs from Ory Network? I'm hesitant to launch self-hosted instances just for this. Factoid: when I stole an authorization
code
from
/oauth/authorize
with Firefox DevTools, it couldn't be used to issue
/oauth/token
, with this error
The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client
although the
/authorize
call itself looked just ok (when I pasted the same
/authorize
URI to Firefox, I got a functional
code
which I could exchange with an access token)
m
Hey @cold-airline-44284 I was able to reproduce the error on my demo project, see auth.vinckr.com. I will look into it further with the team. Did you configure a custom domain for your project?
r
GitLab no, Ory Nw no
h
It looks like GitLab has a regression in their API which now breaks if we don’t send the accept header as part of the userinfo request. A fix is coded and we will release that to production in the next days: https://github.com/ory/kratos/pull/2998 Thank you for raising the issue and sorry that you encountered a problem using Ory 🙂
r
Cool. Is there a notification channel or sth for Ory Network releases?
h
hm not really, we typically try to inform people who the issues affect on slack but sometimes forget. we have it on the roadmap to provide a detailed view of the roadmap publicly but are currently busy with many other topics 😞 bigger releases we announce in announcements
@fast-lunch-54279 ^
r
No worries, I just thought it would be interesting to skim through release notices if such things exist. Maybe you can find a handy Slack app or webhook for a low-effort automation