You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although Github has announced PKCE support in July, they still do not allow public OAuth clients (SPAs) to use it for authentication. They still do not distinguish between public and confidential clients, so they still have the CORS rule in place to avoid folks to spill the secret.
We need to consider our options here. Maybe we can host this very small gatekeeper (which is a confidential client) someplace with HIFIS? This would be beneficial for hermes init as well, as we'd be able to move on from the "device-flow only" approach it has right now.
Activity
poikilotherm commentedon Nov 25, 2025
As part of #3, @nheeb tried using Github OAuth 2 in this client-side only application.
We ran into a known, long standing limitation of Github's OAuth API:
Even our scholarly friends at the Alan Turing Institute had to put up with this in scivision#277. They have been using a deployment of https://github.com/prose/gatekeeper to work around this limitation.
Although Github has announced PKCE support in July, they still do not allow public OAuth clients (SPAs) to use it for authentication. They still do not distinguish between public and confidential clients, so they still have the CORS rule in place to avoid folks to spill the secret.
We need to consider our options here. Maybe we can host this very small gatekeeper (which is a confidential client) someplace with HIFIS? This would be beneficial for
hermes initas well, as we'd be able to move on from the "device-flow only" approach it has right now.SKernchen commentedon Jul 1, 2026
Renaming this issue to keep the discussion for OAuth open.
[-]Add Github implementation[/-][+]Github Oauth[/+]