Single user OpenID server with Rails

My root page of the site automatically redirects all users to some subpage through an http-header.

http://example.com/ β†’ http://example.com/subpage

I want to use my domain example.comas OpenID. The problem is that I have to add a tag to my root page, but it should redirect all users to a subpage. I can change the type of redirection and usage, for example. meta tag. But is there a better way to implement this and not interrupt the instant HTTP redirect?

Maybe I can somehow distinguish between an OpenID request and only respond with html at that time?

+3
source share
1 answer

Yadis ( public/), X-XRDS-Location, application/xrds+xml MIME .

+3

Source: https://habr.com/ru/post/1762004/


All Articles