Support itch.io OAuth2 provider #13008

Open
opened 2025-11-02 10:27:33 -06:00 by GiteaMirror · 6 comments
Owner

Originally created by @murl-digital on GitHub (May 18, 2024).

Feature Description

itch.io provides an OAuth2 provider that I'd like to use on my gitea instance, see the docs here: link

It seems the closest I can do is use OIDC, but it requires a discovery URL that itch.io doesn't have. Is there a way to do this that I don't know about?

Screenshots

No response

Originally created by @murl-digital on GitHub (May 18, 2024). ### Feature Description itch.io provides an OAuth2 provider that I'd like to use on my gitea instance, see the docs here: [link](https://itch.io/docs/api/oauth) It seems the closest I can do is use OIDC, but it requires a discovery URL that itch.io doesn't have. Is there a way to do this that I don't know about? ### Screenshots _No response_
GiteaMirror added the type/proposaltype/upstream labels 2025-11-02 10:27:33 -06:00
Author
Owner

@KN4CK3R commented on GitHub (May 19, 2024):

I don't see think itch.io is a OAuth2 provider. They just support that as authentication for their api?

@KN4CK3R commented on GitHub (May 19, 2024): I don't see think itch.io is a OAuth2 provider. They just support that as authentication for their api?
Author
Owner

@murl-digital commented on GitHub (May 19, 2024):

They have a profile endpoint in the docs, so kind of like discord, you can use it as an auth source: link

@murl-digital commented on GitHub (May 19, 2024): They have a profile endpoint in the docs, so kind of like discord, you can use it as an auth source: [link](https://itch.io/docs/api/serverside#reference/profileme-httpsitchioapi1keyme)
Author
Owner

@techknowlogick commented on GitHub (May 19, 2024):

Here are the docs for the oauth provider: https://itch.io/docs/api/oauth

I've tagged this issue as "upstream" as we use goth for working with external oauth providers, and so itch.io support will need to be added there first.

@techknowlogick commented on GitHub (May 19, 2024): Here are the docs for the oauth provider: https://itch.io/docs/api/oauth I've tagged this issue as "upstream" as we use [goth](https://github.com/markbates/goth) for working with external oauth providers, and so itch.io support will need to be added there first.
Author
Owner

@murl-digital commented on GitHub (May 19, 2024):

Should I go upstream and open a request myself?

@murl-digital commented on GitHub (May 19, 2024): Should I go upstream and open a request myself?
Author
Owner

@techknowlogick commented on GitHub (May 19, 2024):

@murl-digital if you can open one, that would be appreciated, but if not, that's okay, as I'm a maintainer over there, and I am looking into this now. It looks like itch.io doesn't return the user's email, so it might not be feasible to implement it in Gitea (Git and Gitea rely on email addresses and might have unexpected behaviours without one).

@techknowlogick commented on GitHub (May 19, 2024): @murl-digital if you can open one, that would be appreciated, but if not, that's okay, as I'm a maintainer over there, and I am looking into this now. It looks like itch.io doesn't return the user's email, so it might not be feasible to implement it in Gitea (Git and Gitea rely on email addresses and might have unexpected behaviours without one).
Author
Owner

@murl-digital commented on GitHub (May 20, 2024):

(Git and Gitea rely on email addresses and might have unexpected behaviours without one).

For my usecase, at least, I want to give people who bought my software an easy way to make an account and report bugs, and since I handle everything through itch, it kind of just makes sense, and I'm not too worried about email addresses. It seems that profiles have a unique ID, and you can maybe associate it that way? I know that if you set up, say, a GitHub integration, you have the option of signing in to an account or making a new one.

edit: clarity and afterthought

@murl-digital commented on GitHub (May 20, 2024): > (Git and Gitea rely on email addresses and might have unexpected behaviours without one). For my usecase, at least, I want to give people who bought my software an easy way to make an account and report bugs, and since I handle everything through itch, it kind of just makes sense, and I'm not too worried about email addresses. It seems that profiles have a unique ID, and you can maybe associate it that way? I know that if you set up, say, a GitHub integration, you have the option of signing in to an account or making a new one. edit: clarity and afterthought
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13008