This message was deleted.
# general
m
This message was deleted.
h
server side :)
h
Ok nice this is what I’m doing but I always receive a 401. Will investigate 😅 Thanks
One thing that I understand is that Ory Network is not managing or refreshing the github access token for example. I don’t find the way to update the refresh token or access_token in the identity. https://www.ory.sh/docs/kratos/social-signin/get-tokens
Also I think that the refresh_token of my identity is empty.
and the token is a gho not a ghu, sorry for the spam just wanted to put all the infos 😅
h
oh boy what’s the difference between gho and ghu 😅
h
gho is a OAUTH_TOKEN and the ghu is a user-to-server token https://docs.github.com/en/developers/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps#response Here is the exemple of a response when refreshing the token, returning a ghu
h
Ah, I think we support github apps too, so it should be able to get both variants
or maybe not 😕
no actually, we do support both github oauth apps as well as regular github apps. but github apps are not properly documented or shown in the console UI @wonderful-lamp-2357
h
Yes, I followed the doc of the ORY CLI for the github APP, but I think I don’t have the refresh token or the good token because I started with the github oauth apps and after switching to github app, this has never saved the new tokens. I just don’t see how to retrieve a valid access_token, without resetting my ORY project\