-
Notifications
You must be signed in to change notification settings - Fork 25
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
Update to use the token endpoint #121
Comments
Here's an example HTML response return from the user profile: <!DOCTYPE html>
<html>
<head>
<link rel="indieauth-metadata" href="https://anderspitman.com/.well-known/indieauth-metadata">
<link rel="authorization_endpoint" href="https://anderspitman.com/indieauth/auth" />
<link rel="token_endpoint" href="https://anderspitman.com/indieauth/token" />
</head>
<body>
<h1>Hi there</h1>
</body>
</html> The token requests are going to |
Yeah I think this is IndieLogin.com doing the older behavior described in the first IndieAuth spec. I'll do a pass on this to update it to the latest spec this week. Sorry about that. |
No worries just thought I was losing my mind for a minute. 99/100 times this is a typo somewhere in my brand new code. |
Ohhh I see, this behavior indicates it only wants the profile and not an access token: https://indieauth.spec.indieweb.org/#profile-url-response. I actually quite like the simplicity of that. |
Yeah, the only downside is it means it's not compatible with OAuth 2.0 then. The theory was that you could deploy a site with only an authorization endpoint and no token endpoint. |
Just ran into this too. Was previously able to use my custom IndieAuth server to log in to the wiki, but not the other day. Turns out I'd stuck my authorization endpoint behind Laravel's Bit confusing the same URL is being used for both "API" and "web" (or "authenticated user") requests ... Then again, I do understand that we should not design protocols around the tools we have access to (even if it'd make things quite a bit simpler, at least in this case, haha). That said, what would it take to instead use the token endpoint? Is it a matter of simply storing also |
Seeing some weird behavior while trying to implement IndieAuth support for obligator. The token request is coming back to my authorization endpoint. I've triple checked that I'm setting them to different values in my s. I'm sure it's a typo somewhere, but wanted to check and make sure there's no chance it's on the IndieLogin side.
The text was updated successfully, but these errors were encountered: